diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/savefile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/savefile.h b/common/savefile.h index 31a9d98a19..e551455ce4 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -132,6 +132,14 @@ public: virtual bool removeSavefile(const char *filename) = 0; /** + * Renames the given savefile. + * @param oldFilename Old filename. + * @param newFilename New filename. + * @return true if no error ocurred. false otherwise. + */ + virtual bool renameSavefile(const char *oldFilename, const char *newFilename); + + /** * 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. |