X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fpeertrustpage.h;h=0fb6dd326a83655196c7cb0ba9bfe755cd97113d;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=cce9ae60493b0da64060a7582344e324ffc411db;hpb=dec33c63afafabf83c3039e916725cac6faef9b3;p=fms.git diff --git a/include/http/pages/peertrustpage.h b/include/http/pages/peertrustpage.h index cce9ae6..0fb6dd3 100644 --- a/include/http/pages/peertrustpage.h +++ b/include/http/pages/peertrustpage.h @@ -2,17 +2,15 @@ #define _peertrustpage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class PeerTrustPage:public IPageHandler,public IDatabase +class PeerTrustPage:public IPageHandler { public: - PeerTrustPage(const std::string &templatestr):IPageHandler(templatestr) {} + PeerTrustPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"peertrust.htm") {} - IPageHandler *New() { return new PeerTrustPage(m_template); } + IPageHandler *New() { return new PeerTrustPage(m_db,m_template); } private: - const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars); const std::string GetClassString(const std::string &trustlevel);