diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-04 02:19:09 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-04 02:19:09 -0500 |
commit | 76bc3b3677062c0c1a6b9fa08ff20d12e470159c (patch) | |
tree | 390897784acdec4f002df4a13e5d63f1f641fb40 /imagestore.h | |
parent | 5a65625cb589b2cb5b336e1fa5748df8dcdb8f6a (diff) | |
download | wizard-76bc3b3677062c0c1a6b9fa08ff20d12e470159c.tar.gz wizard-76bc3b3677062c0c1a6b9fa08ff20d12e470159c.tar.bz2 wizard-76bc3b3677062c0c1a6b9fa08ff20d12e470159c.zip |
Some old refactoring + some new refactoring
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 */ | ||