diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-01 13:17:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-01 13:17:34 +0300 |
commit | c28e2e8e0cfa0ae4358f798c3bd34c8678de9541 (patch) | |
tree | db84a006ab6e2a8d4d00a25e8216ed22ac6d2fb9 /src/utils/files.h | |
parent | 9fc83299bfb029328f19671efae42a7f4b4d465a (diff) | |
download | manaplus-c28e2e8e0cfa0ae4358f798c3bd34c8678de9541.tar.gz manaplus-c28e2e8e0cfa0ae4358f798c3bd34c8678de9541.tar.bz2 manaplus-c28e2e8e0cfa0ae4358f798c3bd34c8678de9541.tar.xz manaplus-c28e2e8e0cfa0ae4358f798c3bd34c8678de9541.zip |
add ability for auto backup main configuration file on startup.
Diffstat (limited to 'src/utils/files.h')
-rw-r--r-- | src/utils/files.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/files.h b/src/utils/files.h index 5eb29031e..e7106c111 100644 --- a/src/utils/files.h +++ b/src/utils/files.h @@ -49,6 +49,9 @@ namespace Files int renameFile(const std::string &restrict pFrom, const std::string &restrict pTo); + + int copyFile(const std::string &restrict pFrom, + const std::string &restrict pTo); } // namespace Files #endif // UTILS_FILES_H |