diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/savefile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/savefile.h b/common/savefile.h index 7c97ea5058..3e1b9ffaaa 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -137,6 +137,13 @@ public: virtual InSaveFile *openForLoading(const char *filename) = 0; /** + * Removes the given savefile from the filesystem. + * @param filename Filename path pointing to the savefile. + * @return true if no error ocurred. false otherwise. + */ + virtual bool removeSavefile(const char *filename) = 0; + + /** * Request a list of available savegames with a given regex. * @param regex Regular expression to match. Wildcards like * or ? are available. * returns a list of strings for all present file names. |