22 #include "clips-webview-thread.h" 23 #include "clips-webview-processor.h" 25 #include <webview/url_manager.h> 26 #include <webview/nav_manager.h> 30 #define CLIPS_URL_PREFIX "/clips" 39 :
Thread(
"ClipsWebviewThread",
Thread::OPMODE_WAITFORWAKEUP)
WebNavManager * webview_nav_manager
Webview navigation manager.
virtual void loop()
Code to execute in the thread.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Logger * logger
This is the Logger member used to access the logger.
WebUrlManager * webview_url_manager
Webview request processor manager.
void unregister_baseurl(const char *url_prefix)
Remove a request processor.
virtual void init()
Initialize the thread.
void add_nav_entry(std::string baseurl, std::string name)
Add a navigation entry.
LockPtr< CLIPSEnvManager > clips_env_mgr
CLIPS environment manager.
virtual void finalize()
Finalize the thread.
void remove_nav_entry(std::string baseurl)
Remove a navigation entry.
ClipsWebviewThread()
Constructor.
void register_baseurl(const char *url_prefix, WebRequestProcessor *processor)
Add a request processor.
Clips web request processor.
virtual ~ClipsWebviewThread()
Destructor.