From c28e2e8e0cfa0ae4358f798c3bd34c8678de9541 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Jan 2014 13:17:34 +0300 Subject: add ability for auto backup main configuration file on startup. --- src/utils/files.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils/files.h') 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 -- cgit v1.2.3-70-g09d2