diff options
Diffstat (limited to 'imagestore.h')
-rw-r--r-- | imagestore.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/imagestore.h b/imagestore.h index 8c3fecf..2c3495d 100644 --- a/imagestore.h +++ b/imagestore.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <Magick++.h> | 4 | #include <Magick++.h> |
5 | 5 | ||
6 | #include <mutex> | ||
6 | #include <string> | 7 | #include <string> |
7 | 8 | ||
8 | class imagestore { | 9 | class imagestore { |
@@ -11,8 +12,12 @@ class imagestore { | |||
11 | 12 | ||
12 | Magick::Image get(std::string key, std::string url) const; | 13 | Magick::Image get(std::string key, std::string url) const; |
13 | 14 | ||
15 | void cleanup() const; | ||
16 | |||
14 | private: | 17 | private: |
15 | std::string path_; | 18 | std::string path_; |
19 | |||
20 | mutable std::mutex mutex_; | ||
16 | }; | 21 | }; |
17 | 22 | ||
18 | #endif /* end of include guard: IMAGESTORE_H_80B1E49F */ | 23 | #endif /* end of include guard: IMAGESTORE_H_80B1E49F */ |