X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fhttp%2Fpages%2Fshowimagepage.h;fp=include%2Fhttp%2Fpages%2Fshowimagepage.h;h=2c8c648f513693dfb3359d8c82ffa9e8592228e7;hb=221236a4d3aac4144529d418ce368db5c98facb0;hp=0000000000000000000000000000000000000000;hpb=d5c9f7e6c1dd263dfc85a3cb5941a378a5ddd923;p=fms.git diff --git a/include/http/pages/showimagepage.h b/include/http/pages/showimagepage.h new file mode 100644 index 0000000..2c8c648 --- /dev/null +++ b/include/http/pages/showimagepage.h @@ -0,0 +1,22 @@ +#ifndef _showimagepage_ +#define _showimagepage_ + +#include "../ipagehandler.h" + +class ShowImagePage:public IPageHandler +{ +public: + + void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response); + + IPageHandler *New() { return new ShowImagePage; } + +private: + const bool WillHandleURI(const std::string &uri); + const std::string GeneratePage(const std::string &method, const std::map &queryvars) {return "";} + + static std::map > m_imagecache; + +}; + +#endif // _showcaptchapage_