#include <webview/page_header_generator.h>
Inheritance diagram for fawkes::WebPageHeaderGenerator:
Public Member Functions | |
virtual | ~WebPageHeaderGenerator () |
virtual std::string | html_header (std::string &title, std::string &active_baseurl)=0 |
Generate HTML header. |
A page header generator has the task to generate the HTML code that is prepended to each standard page. This is a possible header or navigational additions. A header generator must also generate the opening "<html>" tags, the <head> section, and the opening <body> tag.
Definition at line 33 of file page_header_generator.h.
std::string fawkes::WebPageHeaderGenerator::html_header | ( | std::string & | title, | |
std::string & | active_baseurl | |||
) | [pure virtual] |
Generate HTML header.
title | HTML title, must be put in <title> tag in <head> section | |
active_baseurl | the baseurl currently active processor (this is the baseurl a processor is registered for). This can be used for example to highlight the current section in the navigation. |
Implemented in WebviewHeaderGenerator.
Referenced by fawkes::WebPageReply::pack().