From 2275e9ab7cb53dbb40887028544e80dd39597402 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 12 Jan 2017 20:30:40 +0100 Subject: Opening and saving --- textblob.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'textblob.h') 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; -- cgit v1.2.3-70-g09d2