X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fforumpage.h;h=7a5220469287cc2999ce6e1f91265035550db8ba;hp=3124b9e64e1e099a6f3b24788071eb12a7b1cc35;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/forumpage.h b/include/http/pages/forumpage.h index 3124b9e..7a52204 100644 --- a/include/http/pages/forumpage.h +++ b/include/http/pages/forumpage.h @@ -2,12 +2,11 @@ #define _forumpage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class ForumPage:public IPageHandler,public IDatabase +class ForumPage:public IPageHandler { public: - ForumPage(const std::string &templatestr, const std::string &pagename):IPageHandler(templatestr,pagename) {} + ForumPage(SQLite3DB::DB *db, const std::string &templatestr, const std::string &pagename):IPageHandler(db,templatestr,pagename) {} virtual IPageHandler *New()=0; // returns a new instance of the object