summaryrefslogtreecommitdiff
path: root/include/tgbot/tools
diff options
context:
space:
mode:
authorkukin-konstantin <kukin.konstantin@gmail.com>2017-03-20 18:43:36 +0300
committerkukin-konstantin <kukin.konstantin@gmail.com>2017-03-20 18:55:09 +0300
commitb68611144a92b266ab20b7db8fbce723bb499b70 (patch)
treee5573aaf74443c0542ed684ce5bdadf265e35858 /include/tgbot/tools
parent1c7d4c17062644d28f485b0ff6cbc213e975ac29 (diff)
fix errors
Diffstat (limited to 'include/tgbot/tools')
-rw-r--r--include/tgbot/tools/FileTools.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/tgbot/tools/FileTools.h b/include/tgbot/tools/FileTools.h
index 7329a8e..97fb52c 100644
--- a/include/tgbot/tools/FileTools.h
+++ b/include/tgbot/tools/FileTools.h
@@ -19,6 +19,13 @@ namespace FileTools {
*/
std::string read(const std::string& filePath);
+/**
+* Save file to disk.
+* @param filePath Path to a file
+* @return bool success
+*/
+bool write(const std::string& content, const std::string& filePath);
+
};