Fawkes API
Fawkes Development Version
|
Interface for HTML header generator. More...
#include <>>
Public Member Functions | |
virtual std::string | html_header (std::string &title, std::string &active_baseurl)=0 |
Generate HTML header. |
Interface for HTML header generator.
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.
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().