version 0.3.23
[fms.git] / include / http / pages / browsemessagespage.h
diff --git a/include/http/pages/browsemessagespage.h b/include/http/pages/browsemessagespage.h
new file mode 100644 (file)
index 0000000..da67947
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef _browsemessagespage_\r
+#define _browsemessagespage_\r
+\r
+#include "../ipagehandler.h"\r
+#include "../../idatabase.h"\r
+\r
+class BrowseMessagesPage:public IPageHandler,public IDatabase\r
+{\r
+public:\r
+       BrowseMessagesPage(const std::string &templatestr):IPageHandler(templatestr,"browsemessages.htm")       {}\r
+       \r
+       IPageHandler *New()     { return new BrowseMessagesPage(m_template); }\r
+       \r
+private:\r
+       const std::string GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars);\r
+       const std::string BuildQueryString(const long startrow, const std::string &boardidstr, const std::string &messageidstr);\r
+};\r
+\r
+#endif // _browsemessagespage_\r