diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-25 17:51:19 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-10-25 17:51:19 +0200 |
commit | 616fb291ee1f62202affbec3a043f741c2c2469c (patch) | |
tree | ac4347b38cf598e29893fa2be5584324e5258b9a /include/Cache.hpp | |
parent | 9096d6ef3710118f98c46f6e7f7689d5aa11c7f4 (diff) |
Login works and showing messages, nothing else
Diffstat (limited to 'include/Cache.hpp')
-rw-r--r-- | include/Cache.hpp | 16 |
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(); + }; +} |