diff options
Diffstat (limited to 'imagestore.h')
-rw-r--r-- | imagestore.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/imagestore.h b/imagestore.h new file mode 100644 index 0000000..8c3fecf --- /dev/null +++ b/imagestore.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef IMAGESTORE_H_80B1E49F | ||
2 | #define IMAGESTORE_H_80B1E49F | ||
3 | |||
4 | #include <Magick++.h> | ||
5 | |||
6 | #include <string> | ||
7 | |||
8 | class imagestore { | ||
9 | public: | ||
10 | explicit imagestore(std::string path) : path_(std::move(path)) {} | ||
11 | |||
12 | Magick::Image get(std::string key, std::string url) const; | ||
13 | |||
14 | private: | ||
15 | std::string path_; | ||
16 | }; | ||
17 | |||
18 | #endif /* end of include guard: IMAGESTORE_H_80B1E49F */ | ||