22 #if !defined(BACKEND_SAVES_DEFAULT_H) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER) 23 #define BACKEND_SAVES_DEFAULT_H 25 #include "common/scummsys.h" 26 #include "common/savefile.h" 27 #include "common/str.h" 28 #include "common/fs.h" 29 #include "common/hash-str.h" 49 static const uint32 INVALID_TIMESTAMP = UINT_MAX;
50 static const char *
const TIMESTAMPS_FILENAME;
bool exists(const Common::String &filename) override
virtual void checkPath(const Common::FSNode &dir)
bool removeSavefile(const Common::String &filename) override
Definition: savefile.h:54
Common::StringArray _lockedFiles
Definition: default-saves.h:100
virtual Common::ErrorCode removeFile(const Common::FSNode &fileNode)
ErrorCode
Definition: error.h:47
SaveFileCache _saveFileCache
Definition: default-saves.h:94
Definition: default-saves.h:34
Common::OutSaveFile * openForSaving(const Common::String &filename, bool compress=true) override
void updateSavefilesList(Common::StringArray &lockedFiles) override
Common::StringArray listSavefiles(const Common::String &pattern) override
Common::InSaveFile * openRawFile(const Common::String &filename) override
Definition: savefile.h:142
virtual Common::Path getSavePath() const
void assureCached(const Common::Path &savePathName)
Common::InSaveFile * openForLoading(const Common::String &filename) override