summaryrefslogtreecommitdiff
path: root/shared/serialize.h
diff options
context:
space:
mode:
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