1 #ifndef _ipagehandler_
\r
2 #define _ipagehandler_
\r
13 \brief Handles request for a page
\r
15 \return true if request was handled, false if it was ignored
\r
17 const bool Handle(shttpd_arg *arg);
\r
20 void HandlePost(shttpd_arg *arg);
\r
21 void HadleGet(shttpd_arg *arg);
\r
22 virtual const bool WillHandleURI(const std::string &uri)=0;
\r
23 virtual const std::string GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars)=0;
\r
27 #endif // _ipagehandler_
\r