// // fileprovider.h // AdPlug // // Created by Christopher Snowhill on 1/27/18. // Copyright © 2018-2023 Christopher Snowhill. All rights reserved. // #ifndef fileprovider_h #define fileprovider_h #import #import "Plugin.h" #include #include #include class CProvider_cog : public CFileProvider { id m_file_hint; std::string m_file_path; public: virtual binistream *open(std::string filename) const; virtual void close(binistream *f) const; CProvider_cog() { } CProvider_cog(std::string filename, id file) : m_file_path(filename), m_file_hint(file) { } }; #endif /* fileprovider_h */