#ifndef IMAGESTORE_H_80B1E49F #define IMAGESTORE_H_80B1E49F #include #include #include class imagestore { public: explicit imagestore(std::string path) : path_(std::move(path)) {} Magick::Image get(std::string key, std::string url) const; void cleanup() const; private: std::string path_; mutable std::mutex mutex_; }; #endif /* end of include guard: IMAGESTORE_H_80B1E49F */