From 76bc3b3677062c0c1a6b9fa08ff20d12e470159c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 4 Nov 2024 02:19:09 -0500 Subject: Some old refactoring + some new refactoring --- imagestore.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 imagestore.h (limited to 'imagestore.h') diff --git a/imagestore.h b/imagestore.h new file mode 100644 index 0000000..8c3fecf --- /dev/null +++ b/imagestore.h @@ -0,0 +1,18 @@ +#ifndef IMAGESTORE_H_80B1E49F +#define IMAGESTORE_H_80B1E49F + +#include + +#include + +class imagestore { + public: + explicit imagestore(std::string path) : path_(std::move(path)) {} + + Magick::Image get(std::string key, std::string url) const; + + private: + std::string path_; +}; + +#endif /* end of include guard: IMAGESTORE_H_80B1E49F */ -- cgit 1.4.1