summaryrefslogtreecommitdiff
path: root/textblob.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-12 20:30:40 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-12 20:30:40 +0100
commit2275e9ab7cb53dbb40887028544e80dd39597402 (patch)
tree75c29e8a67c1bb4a90e348eb02b3972c1d4eb560 /textblob.h
parent5c890325cb32602814804bb511c6399fe2395802 (diff)
Opening and saving
Diffstat (limited to 'textblob.h')
-rw-r--r--textblob.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/textblob.h b/textblob.h
index 3246c8d..b1a4dc4 100644
--- a/textblob.h
+++ b/textblob.h
@@ -32,8 +32,9 @@ public:
void clear();
- void read(istream &is);
- void write(ostream &os) const;
+ //Return how many characters were read/written.
+ i64 read(istream &is);
+ i64 write(ostream &os) const;
void setText(const string &text);
string fullText() const;