Fawkes API
Fawkes Development Version
page_header_generator.cpp
1
2
/***************************************************************************
3
* header_generator.cpp - Generator of page header
4
*
5
* Created: Sun Aug 30 14:40:26 2009
6
* Copyright 2006-2009 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#include <webview/page_header_generator.h>
24
25
namespace
fawkes
{
26
#if 0
/* just to make Emacs auto-indent happy */
27
}
28
#endif
29
30
/** @class WebPageHeaderGenerator <webview/page_header_generator.h>
31
* Interface for HTML header generator.
32
* A page header generator has the task to generate the HTML code that is
33
* prepended to each standard page. This is a possible header or navigational
34
* additions. A header generator must also generate the opening "<html>"
35
* tags, the <head> section, and the opening <body> tag.
36
* @author Tim Niemueller
37
*
38
* @fn std::string WebPageHeaderGenerator::html_header(std::string &title, std::string &active_baseurl, std::string &html_header) = 0
39
* Generate HTML header.
40
* @param title HTML title, must be put in <title> tag in <head>
41
* section
42
* @param active_baseurl the baseurl currently active processor (this is the
43
* baseurl a processor is registered for). This can be used for example to
44
* highlight the current section in the navigation.
45
* @param html_header custom HTML code to place in the head element of the page.
46
* @return header HTML code
47
*/
48
49
WebPageHeaderGenerator::~WebPageHeaderGenerator()
50
{
51
}
52
53
}
// end namespace fawkes
fawkes
Fawkes library namespace.
src
libs
webview
page_header_generator.cpp
Generated by
1.8.13