aboutsummaryrefslogtreecommitdiff
path: root/include/Cache.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-25 17:51:19 +0200
committerdec05eba <dec05eba@protonmail.com>2018-10-25 17:51:19 +0200
commit616fb291ee1f62202affbec3a043f741c2c2469c (patch)
treeac4347b38cf598e29893fa2be5584324e5258b9a /include/Cache.hpp
parent9096d6ef3710118f98c46f6e7f7689d5aa11c7f4 (diff)
Login works and showing messages, nothing else
Diffstat (limited to 'include/Cache.hpp')
-rw-r--r--include/Cache.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/Cache.hpp b/include/Cache.hpp
new file mode 100644
index 0000000..97ef495
--- /dev/null
+++ b/include/Cache.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <boost/filesystem/path.hpp>
+
+namespace dchat
+{
+ class Cache
+ {
+ public:
+ Cache();
+ ~Cache();
+
+ // Creates directory if it doesn't exist (recursively). Throws boost exception on failure
+ static boost::filesystem::path getDchatDir();
+ };
+}