22 #ifndef ENGINES_SAVESTATE_H 23 #define ENGINES_SAVESTATE_H 25 #include "common/array.h" 26 #include "common/str.h" 27 #include "common/ustr.h" 28 #include "common/ptr.h" 59 kSaveTypeUndetermined,
64 void initSaveSlot(
const MetaEngine *metaEngine);
121 setDeletableFlag(
false);
122 setWriteProtectedFlag(
true);
154 void setSaveDate(
int year,
int month,
int day);
169 void setSaveTime(
int hour,
int min);
184 void setPlayTime(
int hours,
int minutes);
191 void setPlayTime(uint32 msecs);
212 void setAutosave(
bool autosave);
217 bool isAutosave()
const;
222 bool hasAutosaveName()
const;
227 bool isValid()
const;
247 bool _isWriteProtected;
274 uint32 _playTimeMSecs;
void setSaveSlot(int slot)
Definition: savestate.h:73
Common::Array< SaveStateDescriptor > SaveStateList
Definition: savestate.h:288
bool getLocked() const
Definition: savestate.h:129
void setDeletableFlag(bool state)
Definition: savestate.h:96
const Common::U32String & getDescription() const
Definition: savestate.h:89
uint32 getPlayTimeMSecs() const
Definition: savestate.h:207
bool getWriteProtectedFlag() const
Definition: savestate.h:111
bool getDeletableFlag() const
Definition: savestate.h:101
Definition: savestate.h:56
Definition: savestate.h:293
void setWriteProtectedFlag(bool state)
Definition: savestate.h:106
void setLocked(bool state)
Definition: savestate.h:116
Definition: formatinfo.h:28
const Common::String & getSaveTime() const
Definition: savestate.h:176
int getSaveSlot() const
Definition: savestate.h:78
const Common::String & getSaveDate() const
Definition: savestate.h:161
U32String decode(CodePage page=kUtf8) const
void setDescription(const Common::String &desc)
Definition: savestate.h:83
const Common::String & getPlayTime() const
Definition: savestate.h:199
const Graphics::Surface * getThumbnail() const
Definition: savestate.h:137