Public Member Functions

fawkes::WebPageHeaderGenerator Class Reference

Interface for HTML header generator. More...

#include <>>

Inheritance diagram for fawkes::WebPageHeaderGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual std::string html_header (std::string &title, std::string &active_baseurl)=0
 Generate HTML header.

Detailed Description

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 "&lt;html&gt;" tags, the <head> section, and the opening <body> tag.

Author:
Tim Niemueller

Definition at line 33 of file page_header_generator.h.


Member Function Documentation

std::string fawkes::WebPageHeaderGenerator::html_header ( std::string &  title,
std::string &  active_baseurl 
) [pure virtual]

Generate HTML header.

Parameters:
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.
Returns:
header HTML code

Implemented in WebviewHeaderGenerator.

Referenced by fawkes::WebPageReply::pack().


The documentation for this class was generated from the following files: