aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/resources.h')
-rw-r--r--engines/mads/resources.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/mads/resources.h b/engines/mads/resources.h
index 3d5d582707..7d56138da5 100644
--- a/engines/mads/resources.h
+++ b/engines/mads/resources.h
@@ -25,6 +25,7 @@
#include "common/scummsys.h"
#include "common/file.h"
+#include "common/serializer.h"
#include "common/str.h"
namespace MADS {
@@ -75,6 +76,19 @@ public:
void openFile(const Common::String &filename);
};
+class SynchronizedList : public Common::Array<int> {
+public:
+ /**
+ * Synchronize the list
+ */
+ void synchronize(Common::Serializer &s);
+};
+
+/**
+* Synchronize string support method
+*/
+void synchronizeString(Common::Serializer &s, Common::String &str);
+
} // End of namespace MADS
#endif /* MADS_RESOURCES_H */