Fawkes API Fawkes Development Version
webview.h
1
2/***************************************************************************
3 * webview.h - Webview aspect for Fawkes
4 *
5 * Created: Thu Nov 25 22:19:10 2010
6 * Copyright 2006-2010 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. A runtime exception applies to
14 * this software (see LICENSE.GPL_WRE file mentioned below for details).
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Library General Public License for more details.
20 *
21 * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22 */
23
24#ifndef _ASPECT_WEBVIEW_H_
25#define _ASPECT_WEBVIEW_H_
26
27#include <aspect/aspect.h>
28
29namespace fawkes {
30
31class WebUrlManager;
32class WebNavManager;
33class WebRequestManager;
34class WebviewRestApiManager;
35
36class WebviewAspect : public virtual Aspect
37{
38public:
40 virtual ~WebviewAspect();
41
42 void init_WebviewAspect(WebUrlManager * url_manager,
43 WebNavManager * nav_manager,
44 WebRequestManager * request_manager,
45 WebviewRestApiManager *rest_api_manager);
46
47protected:
48 /** Webview request processor manager. */
50 /** Webview navigation manager. */
52 /** Webview request manager. */
54 /** Webview REST API manager. */
56};
57
58} // end namespace fawkes
59
60#endif
Fawkes aspect base class.
Definition: aspect.h:32
Manage visible navigation entries.
Definition: nav_manager.h:34
Probides information about ongoing requests.
Manage URL mappings.
Definition: url_manager.h:40
Thread aspect to provide web pages via Webview.
Definition: webview.h:37
WebRequestManager * webview_request_manager
Webview request manager.
Definition: webview.h:53
WebviewRestApiManager * webview_rest_api_manager
Webview REST API manager.
Definition: webview.h:55
WebNavManager * webview_nav_manager
Webview navigation manager.
Definition: webview.h:51
WebviewAspect()
Constructor.
Definition: webview.cpp:49
WebUrlManager * webview_url_manager
Webview request processor manager.
Definition: webview.h:49
void init_WebviewAspect(WebUrlManager *url_manager, WebNavManager *nav_manager, WebRequestManager *request_manager, WebviewRestApiManager *rest_api_manager)
Set URL manager.
Definition: webview.cpp:69
virtual ~WebviewAspect()
Virtual empty Destructor.
Definition: webview.cpp:55
Fawkes library namespace.