ScummVM API documentation
KolibriOSSaveFileManager Class Reference

#include <kolibrios-saves.h>

Inheritance diagram for KolibriOSSaveFileManager:
DefaultSaveFileManager Common::SaveFileManager Common::NonCopyable

Public Member Functions

 KolibriOSSaveFileManager (const Common::Path &writeablePath)
 
- Public Member Functions inherited from DefaultSaveFileManager
 DefaultSaveFileManager (const Common::Path &defaultSavepath)
 
void updateSavefilesList (Common::StringArray &lockedFiles) override
 
Common::StringArray listSavefiles (const Common::String &pattern) override
 
Common::InSaveFileopenRawFile (const Common::String &filename) override
 
Common::InSaveFileopenForLoading (const Common::String &filename) override
 
Common::OutSaveFileopenForSaving (const Common::String &filename, bool compress=true) override
 
bool removeSavefile (const Common::String &filename) override
 
bool exists (const Common::String &filename) override
 
- Public Member Functions inherited from Common::SaveFileManager
virtual void clearError ()
 
virtual Error getError ()
 
virtual String getErrorDesc ()
 
virtual String popErrorDesc ()
 
virtual bool renameSavefile (const String &oldName, const String &newName, bool compress=true)
 
virtual bool copySavefile (const String &oldName, const String &newName, bool compress=true)
 

Additional Inherited Members

- Static Public Member Functions inherited from DefaultSaveFileManager
static Common::Path concatWithSavesPath (Common::String name)
 
- Protected Types inherited from DefaultSaveFileManager
typedef Common::HashMap< Common::String, Common::FSNode, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualToSaveFileCache
 
- Protected Member Functions inherited from DefaultSaveFileManager
virtual Common::Path getSavePath () const
 
virtual void checkPath (const Common::FSNode &dir)
 
virtual Common::ErrorCode removeFile (const Common::FSNode &fileNode)
 
void assureCached (const Common::Path &savePathName)
 
- Protected Member Functions inherited from Common::SaveFileManager
virtual void setError (Error error, const String &errorDesc)
 
- Protected Attributes inherited from DefaultSaveFileManager
SaveFileCache _saveFileCache
 
Common::StringArray _lockedFiles
 
- Protected Attributes inherited from Common::SaveFileManager
Error _error
 
String _errorDesc
 

Detailed Description

Customization of the DefaultSaveFileManager for KolibriOS. The only two differences are that the default constructor sets up the savepath based on HOME, and that checkPath tries to create the savedir, if missing, via the mkdir() syscall.


The documentation for this class was generated from the following file: