diff options
author | Max Horn | 2011-03-25 15:02:33 +0100 |
---|---|---|
committer | Max Horn | 2011-03-25 15:02:33 +0100 |
commit | 0c09dafdbbcccfae5838ac1f59589cb315095a0a (patch) | |
tree | 77d9f09e4d5df3c6f2753e77a94c47727652ec07 /common/savefile.h | |
parent | bb6a5c3685ef555ab63ee1fd39173dbdad9a2a13 (diff) | |
parent | 5a1874e3d946002c21af9ed315f762bfb467ef3f (diff) | |
download | scummvm-rg350-0c09dafdbbcccfae5838ac1f59589cb315095a0a.tar.gz scummvm-rg350-0c09dafdbbcccfae5838ac1f59589cb315095a0a.tar.bz2 scummvm-rg350-0c09dafdbbcccfae5838ac1f59589cb315095a0a.zip |
Merge branch 'copysavefile' of https://github.com/Littleboy/scummvm into Littleboy-copysavefile
Diffstat (limited to 'common/savefile.h')
-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 16b0fdbfbe..793aec3ba9 100644 --- a/common/savefile.h +++ b/common/savefile.h @@ -136,6 +136,14 @@ public: virtual bool renameSavefile(const String &oldName, const String &newName); /** + * Copy the given savefile. + * @param oldName Old name. + * @param newName New name. + * @return true if no error occurred. false otherwise. + */ + virtual bool copySavefile(const String &oldName, const String &newName); + + /** * Request a list of available savegames with a given DOS-style pattern, * also known as "glob" in the UNIX world. Refer to the Common::matchString() * function to learn about the precise pattern format. |