Fawkes API  Fawkes Development Version
WebviewFooterGenerator Class Reference

Webview page footer. More...

#include "footer_generator.h"

Inheritance diagram for WebviewFooterGenerator:

Public Member Functions

 WebviewFooterGenerator (WebviewServiceBrowseHandler *service_browser)
 Constructor. More...
 
std::string html_footer ()
 Generate HTML footer. More...
 
- Public Member Functions inherited from fawkes::WebPageFooterGenerator
virtual ~WebPageFooterGenerator ()
 Virtual empty destructor. More...
 

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::WebviewFooterGenerator ( WebviewServiceBrowseHandler service_browser)

Constructor.

Parameters
service_browserservice browser used to add links to other Webview instances.

Definition at line 39 of file footer_generator.cpp.

Member Function Documentation

◆ html_footer()

std::string WebviewFooterGenerator::html_footer ( )
virtual

Generate HTML footer.

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

Implements fawkes::WebPageFooterGenerator.

Definition at line 46 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: