diff options
author | Max Horn | 2007-11-06 10:52:47 +0000 |
---|---|---|
committer | Max Horn | 2007-11-06 10:52:47 +0000 |
commit | 3598192859797d8b7cc33a22af21f04bd45af01a (patch) | |
tree | ed28685b78beccd234a6995ae5d36201267973d7 /common | |
parent | 83802f795b042113ea564f7f6ff964b7d030f3e5 (diff) | |
download | scummvm-rg350-3598192859797d8b7cc33a22af21f04bd45af01a.tar.gz scummvm-rg350-3598192859797d8b7cc33a22af21f04bd45af01a.tar.bz2 scummvm-rg350-3598192859797d8b7cc33a22af21f04bd45af01a.zip |
Patch #1825132: SAVEFILEMAN: renameSavefile implementation
svn-id: r29433
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. |