Public Member Functions

WebviewFooterGenerator Class Reference

Webview page footer. More...

#include "footer_generator.h"

Inheritance diagram for WebviewFooterGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 WebviewFooterGenerator (WebviewServiceBrowseHandler *service_browser)
 Constructor.
std::string html_footer ()
 Generate HTML footer.

Detailed Description

Webview page footer.

Custom page header that shows other webview instances found on the net via mDNS-SD.

Author:
Tim Niemueller

Definition at line 30 of file footer_generator.h.


Constructor & Destructor Documentation

WebviewFooterGenerator::WebviewFooterGenerator ( WebviewServiceBrowseHandler service_browser  ) 

Constructor.

Parameters:
service_browser service browser used to add links to other Webview instances.

Definition at line 38 of file footer_generator.cpp.


Member Function Documentation

std::string WebviewFooterGenerator::html_footer (  )  [virtual]

Generate HTML footer.

Returns:
footer HTML code, including </body></html>

Implements fawkes::WebPageFooterGenerator.

Definition at line 45 of file footer_generator.cpp.

References WebviewServiceBrowseHandler::service_list(), and fawkes::StringConversions::to_string().


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