version 0.3.13
[fms.git] / include / http / pages / recentlyaddedpage.h
diff --git a/include/http/pages/recentlyaddedpage.h b/include/http/pages/recentlyaddedpage.h
new file mode 100644 (file)
index 0000000..ec9c1cc
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef _recentlyaddedpage_\r
+#define _recentlyaddedpage_\r
+\r
+#include "../ipagehandler.h"\r
+#include "../../idatabase.h"\r
+\r
+class RecentlyAddedPage:public IPageHandler,public IDatabase\r
+{\r
+public:\r
+       RecentlyAddedPage(const std::string &templatestr):IPageHandler(templatestr)             {}\r
+\r
+       IPageHandler *New()     { return new RecentlyAddedPage(m_template); }\r
+\r
+private:\r
+       const bool WillHandleURI(const std::string &uri);\r
+       const std::string GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars);\r
+\r
+};\r
+\r
+#endif // _recentlyaddedpage_\r