aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/objects/saveable_object.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-02-18 22:05:51 -0500
committerPaul Gilbert2016-02-18 22:05:51 -0500
commite2aca904ec8c0e0f23124b00b4b1eb525105f95e (patch)
tree16a31d859c415e7835912f3d5d5974917a0a8f75 /engines/titanic/objects/saveable_object.h
parent9b173df32f65ec4eec9b9acf800a2541ccf74678 (diff)
downloadscummvm-rg350-e2aca904ec8c0e0f23124b00b4b1eb525105f95e.tar.gz
scummvm-rg350-e2aca904ec8c0e0f23124b00b4b1eb525105f95e.tar.bz2
scummvm-rg350-e2aca904ec8c0e0f23124b00b4b1eb525105f95e.zip
TITANIC: Implement saving methods for List and ListItem
Diffstat (limited to 'engines/titanic/objects/saveable_object.h')
-rw-r--r--engines/titanic/objects/saveable_object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/objects/saveable_object.h b/engines/titanic/objects/saveable_object.h
index e99d8c5525..4e7d949191 100644
--- a/engines/titanic/objects/saveable_object.h
+++ b/engines/titanic/objects/saveable_object.h
@@ -58,7 +58,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent);
+ virtual void save(SimpleFile *file, int indent) const;
/**
* Load the data for the class from file
@@ -69,13 +69,13 @@ public:
* Write out a header definition for the class to file
* prior to saving the actual data for the class
*/
- virtual void saveHeader(SimpleFile *file, int indent);
+ virtual void saveHeader(SimpleFile *file, int indent) const;
/**
* Writes out a footer for the class after it's data has
* been written to file
*/
- virtual void saveFooter(SimpleFile *file, int indent);
+ virtual void saveFooter(SimpleFile *file, int indent) const;
};
} // End of namespace Titanic