X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fshowcaptchapage.h;h=58af3f0b1cad8ebd547f21fe60790bc7217a0724;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=121ad9a43b639e5f21d20546a2289cbd8bc1f50d;hpb=f208e33c29132aacaec448e74341edea1b925a2a;p=fms.git diff --git a/include/http/pages/showcaptchapage.h b/include/http/pages/showcaptchapage.h index 121ad9a..58af3f0 100644 --- a/include/http/pages/showcaptchapage.h +++ b/include/http/pages/showcaptchapage.h @@ -4,13 +4,18 @@ #include "../ipagehandler.h" #include "../../idatabase.h" -class ShowCaptchaPage:public IPageHandler,public IDatabase +class ShowCaptchaPage:public IPageHandler { public: + ShowCaptchaPage(SQLite3DB::DB *db):IPageHandler(db) {} + + void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response); + + IPageHandler *New() { return new ShowCaptchaPage(m_db); } private: const bool WillHandleURI(const std::string &uri); - const std::string GeneratePage(const std::string &method, const std::map &queryvars); + const std::string GeneratePage(const std::string &method, const std::map &queryvars) {return "";} };