Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

DefaultSaveFileManager Class Reference

#include <default-saves.h>

Inheritance diagram for DefaultSaveFileManager:

Common::SaveFileManager Common::NonCopyable PSPSaveFileManager

List of all members.


Detailed Description

Provides a default savefile manager implementation for common platforms.

Definition at line 37 of file default-saves.h.


Public Member Functions

virtual void clearError ()
 DefaultSaveFileManager (const Common::String &defaultSavepath)
virtual Error getError ()
virtual String getErrorDesc ()
virtual Common::StringList listSavefiles (const Common::String &pattern)
virtual Common::InSaveFileopenForLoading (const Common::String &filename)
virtual Common::OutSaveFileopenForSaving (const Common::String &filename)
virtual String popErrorDesc ()
virtual bool removeSavefile (const Common::String &filename)
virtual bool renameSavefile (const String &oldName, const String &newName)

Protected Member Functions

virtual void checkPath (const Common::FSNode &dir)
virtual Common::String getSavePath () const
virtual void setError (Error error, const String &errorDesc)

Protected Attributes

Error _error
String _errorDesc

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

Generated by  Doxygen 1.6.0   Back to index