23 #include <webview/page_reply.h>
24 #include <webview/page_header_generator.h>
25 #include <webview/page_footer_generator.h>
26 #include <utils/system/hostinfo.h>
45 const char * WebPageReply::PAGE_HEADER =
48 " <title>%s</title>\n"
49 " <link rel=\"stylesheet\" type=\"text/css\" href=\"/static/webview.css\" />\n"
54 const char * WebPageReply::PAGE_FOOTER =
62 WebPageReply::WebPageReply(std::string title, std::string body)
115 __merged_body +=
_body;
117 if (footergen) __merged_body += footergen->
html_footer();
118 else __merged_body += PAGE_FOOTER;
121 std::string::size_type
124 return __merged_body.length();
131 return __merged_body;