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 
29 namespace fawkes {
30 #if 0 /* just to make Emacs auto-indent happy */
31 }
32 #endif
33 
34 class WebUrlManager;
35 class WebNavManager;
36 class WebRequestManager;
37 
38 class WebviewAspect : public virtual Aspect
39 {
40  public:
41  WebviewAspect();
42  virtual ~WebviewAspect();
43 
44  void init_WebviewAspect(WebUrlManager *url_manager,
45  WebNavManager *nav_manager,
46  WebRequestManager *request_manager);
47 
48  protected:
49  /** Webview request processor manager. */
51  /** Webview navigation manager. */
53  /** Webview request manager. */
55 };
56 
57 } // end namespace fawkes
58 
59 #endif
WebNavManager * webview_nav_manager
Webview navigation manager.
Definition: webview.h:52
Fawkes aspect base class.
Definition: aspect.h:34
Fawkes library namespace.
WebviewAspect()
Constructor.
Definition: webview.cpp:53
virtual ~WebviewAspect()
Virtual empty Destructor.
Definition: webview.cpp:60
WebRequestManager * webview_request_manager
Webview request manager.
Definition: webview.h:54
Manage URL mappings.
Definition: url_manager.h:37
WebUrlManager * webview_url_manager
Webview request processor manager.
Definition: webview.h:50
Manage visible navigation entries.
Definition: nav_manager.h:36
Probides information about ongoing requests.
void init_WebviewAspect(WebUrlManager *url_manager, WebNavManager *nav_manager, WebRequestManager *request_manager)
Set URL manager.
Definition: webview.cpp:74
Thread aspect to provide web pages via Webview.
Definition: webview.h:38