X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fversioninfopage.h;h=0f2176ad09f9bc036d3e66bae3871f2faa8cbb54;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=1d875547498494279cbaaa970ae15c17e02d6f14;hpb=4855de56590e2f27d39036922339992c96bce9d1;p=fms.git diff --git a/include/http/pages/versioninfopage.h b/include/http/pages/versioninfopage.h index 1d87554..0f2176a 100644 --- a/include/http/pages/versioninfopage.h +++ b/include/http/pages/versioninfopage.h @@ -2,17 +2,15 @@ #define _versioninfopage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class VersionInfoPage:public IPageHandler,public IDatabase +class VersionInfoPage:public IPageHandler { public: - VersionInfoPage(const std::string &templatestr):IPageHandler(templatestr) {} + VersionInfoPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"versioninfo.htm") {} - IPageHandler *New() { return new VersionInfoPage(m_template); } + IPageHandler *New() { return new VersionInfoPage(m_db,m_template); } private: - const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars); };