diff options
Diffstat (limited to 'common/savefile.h')
-rw-r--r-- | common/savefile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/savefile.h b/common/savefile.h index 4b4771daa9..2431dba53a 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -40,6 +40,9 @@ class InSaveFile : public Common::ReadStream { public: virtual ~InSaveFile() {} + + virtual bool readingFailed() const { return false; } + //bool eof() const; }; /** @@ -52,6 +55,8 @@ public: class OutSaveFile : public Common::WriteStream { public: virtual ~OutSaveFile() {} + + virtual bool writingFailed() const { return false; } }; /** |