ScummVM API documentation
WindowsSaveFileManager Class Referencefinal

#include <windows-saves.h>

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

Public Member Functions

 WindowsSaveFileManager (bool isPortable)
 
- 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::InSaveFile * openRawFile (const Common::String &filename) override
 
Common::InSaveFile * openForLoading (const Common::String &filename) override
 
Common::OutSaveFile * openForSaving (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 OutSaveFile * openForSaving (const String &name, bool compress=true)=0
 
virtual InSaveFile * openForLoading (const String &name)=0
 
virtual InSaveFile * openRawFile (const String &name)=0
 
virtual bool removeSavefile (const String &name)=0
 
virtual bool renameSavefile (const String &oldName, const String &newName, bool compress=true)
 
virtual bool copySavefile (const String &oldName, const String &newName, bool compress=true)
 
virtual StringArray listSavefiles (const String &pattern)=0
 
virtual void updateSavefilesList (StringArray &lockedFiles)=0
 
virtual bool exists (const String &name)=0
 

Protected Member Functions

Common::ErrorCode removeFile (const Common::FSNode &fileNode) override
 
- 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)
 

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_EqualTo > SaveFileCache
 
- Protected Attributes inherited from DefaultSaveFileManager
SaveFileCache _saveFileCache
 
Common::StringArray _lockedFiles
 
- Protected Attributes inherited from Common::SaveFileManager
Error _error
 
String _errorDesc
 

Detailed Description

Provides a savefile manager implementation for Windows.

Member Function Documentation

◆ removeFile()

Common::ErrorCode WindowsSaveFileManager::removeFile ( const Common::FSNode &  fileNode)
overrideprotectedvirtual

Removes the given file. This is called from removeSavefile() with the full file path.

Reimplemented from DefaultSaveFileManager.


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