diff options
Diffstat (limited to 'include/Cache.hpp')
-rw-r--r-- | include/Cache.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Cache.hpp b/include/Cache.hpp index d78324c..429f652 100644 --- a/include/Cache.hpp +++ b/include/Cache.hpp @@ -44,6 +44,7 @@ namespace dchat { public: Cache(); + ~Cache(); // Creates directory if it doesn't exist (recursively). Throws boost exception on failure static boost::filesystem::path getDchatDir(); @@ -63,5 +64,6 @@ namespace dchat std::vector<ImageDownloadInfo> imageDownloadProcesses; std::vector<ImageDownloadInfo> imageDownloadProcessesQueue; std::mutex imageDownloadMutex; + bool alive; }; } |