aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorMax Horn2008-08-04 11:38:25 +0000
committerMax Horn2008-08-04 11:38:25 +0000
commit5f4c9f913f60d1098cbe527a9a4acabd39c5c23b (patch)
treea1d332c19b37268527bf4f9e1402ec904e2440ba /engines/kyra
parentc92ee34e45f7e1a38ab3ab3463891f4efe96be79 (diff)
downloadscummvm-rg350-5f4c9f913f60d1098cbe527a9a4acabd39c5c23b.tar.gz
scummvm-rg350-5f4c9f913f60d1098cbe527a9a4acabd39c5c23b.tar.bz2
scummvm-rg350-5f4c9f913f60d1098cbe527a9a4acabd39c5c23b.zip
Turned InSaveFile & OutSaveFile into simple typedefs
svn-id: r33606
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/kyra_v1.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/kyra_v1.h b/engines/kyra/kyra_v1.h
index 50cabc421e..05c746f289 100644
--- a/engines/kyra/kyra_v1.h
+++ b/engines/kyra/kyra_v1.h
@@ -34,8 +34,8 @@
#include "kyra/script.h"
namespace Common {
-class InSaveFile;
-class OutSaveFile;
+class SeekableReadStream;
+class WriteStream;
} // end of namespace Common
class KyraMetaEngine;
@@ -299,10 +299,10 @@ protected:
kRSHEIoError = 3
};
- static kReadSaveHeaderError readSaveHeader(Common::InSaveFile *file, SaveHeader &header);
+ static kReadSaveHeaderError readSaveHeader(Common::SeekableReadStream *file, SaveHeader &header);
- Common::InSaveFile *openSaveForReading(const char *filename, SaveHeader &header);
- Common::OutSaveFile *openSaveForWriting(const char *filename, const char *saveName) const;
+ Common::SeekableReadStream *openSaveForReading(const char *filename, SaveHeader &header);
+ Common::WriteStream *openSaveForWriting(const char *filename, const char *saveName) const;
};
} // End of namespace Kyra