summaryrefslogtreecommitdiff
path: root/shared/serialize.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:53 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:53 +0200
commit618dfb51d93898632830f1b87443d3f748780871 (patch)
treebac520a2e261154f8d35b0cb8aa345f5ab373811 /shared/serialize.h
parent3.4 (diff)
downloadFreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.gz
FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.bz2
FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.zip
3.5
Diffstat (limited to 'shared/serialize.h')
-rw-r--r--shared/serialize.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/shared/serialize.h b/shared/serialize.h
index 0647524b..f1c4dc49 100644
--- a/shared/serialize.h
+++ b/shared/serialize.h
@@ -42,9 +42,13 @@ protected:
void check();
protected:
- wxInputStream& stream_;
+ wxInputStream& getStream()
+ {
+ return stream_;
+ }
private:
+ wxInputStream& stream_;
void throwReadError(); //throw FileError()
const wxString& errorObjName_; //used for error text only
};
@@ -65,9 +69,13 @@ protected:
void check();
protected:
- wxOutputStream& stream_;
+ wxOutputStream& getStream()
+ {
+ return stream_;
+ }
private:
+ wxOutputStream& stream_;
void throwWriteError(); //throw FileError()
const wxString& errorObjName_; //used for error text only!
};
bgstack15