X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fbrowsemessagespage.h;fp=include%2Fhttp%2Fpages%2Fbrowsemessagespage.h;h=da6794754eaa1b1459350c7428b98afc2b7753db;hp=0000000000000000000000000000000000000000;hb=221236a4d3aac4144529d418ce368db5c98facb0;hpb=d5c9f7e6c1dd263dfc85a3cb5941a378a5ddd923 diff --git a/include/http/pages/browsemessagespage.h b/include/http/pages/browsemessagespage.h new file mode 100644 index 0000000..da67947 --- /dev/null +++ b/include/http/pages/browsemessagespage.h @@ -0,0 +1,19 @@ +#ifndef _browsemessagespage_ +#define _browsemessagespage_ + +#include "../ipagehandler.h" +#include "../../idatabase.h" + +class BrowseMessagesPage:public IPageHandler,public IDatabase +{ +public: + BrowseMessagesPage(const std::string &templatestr):IPageHandler(templatestr,"browsemessages.htm") {} + + IPageHandler *New() { return new BrowseMessagesPage(m_template); } + +private: + const std::string GeneratePage(const std::string &method, const std::map &queryvars); + const std::string BuildQueryString(const long startrow, const std::string &boardidstr, const std::string &messageidstr); +}; + +#endif // _browsemessagespage_