]> icculus.org git repositories - duncan/yast2-web-wt.git/blob - src/YWebUIComponent.h
- move the UICOmponent functions to its own fle
[duncan/yast2-web-wt.git] / src / YWebUIComponent.h
1 /*---------------------------------------------------------------------\
2 |                                                                      |
3 |                      __   __    ____ _____ ____                      |
4 |                      \ \ / /_ _/ ___|_   _|___ \                     |
5 |                       \ V / _` \___ \ | |   __) |                    |
6 |                        | | (_| |___) || |  / __/                     |
7 |                        |_|\__,_|____/ |_| |_____|                    |
8 |                                                                      |
9 |                               core system                            |
10 |                                                        (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12
13   File:         YQUIComponent.h
14
15   Author:       Stefan Hundhammer <sh@suse.de>
16                 Stanislav Visnovsky <visnov@suse.cz>
17
18 /-*/
19
20 #ifndef YWebUIComponent_h
21 #define YWebUIComponent_h
22
23 #include <YUIComponent.h>
24
25 #define y2log_component "web-ui"
26 #include <ycp/y2log.h>
27
28 #include "YWebUI.h"
29
30 class YWebUIComponent :  public YUIComponent
31 {
32 public:
33
34     YWebUIComponent();
35
36     /**
37      * Create a Web UI. This is called from within setServerOptions().
38      *
39      * Reimplemented from YUIComponent.
40      **/
41     virtual YUI * createUI( int argc, char **argv, bool with_threads, const char * macro_file );
42
43     /**
44      * Returns the name of this YaST2 component.
45      *
46      * Reimplemented from YUIComponent.
47      **/
48     virtual string name() const;
49
50 };
51
52
53 #endif // YWebUIComponent_h