create web dialogs
[duncan/yast2-web-wt.git] / src / YWebDialog.h
1 /*---------------------------------------------------------------------\
2 |                                                                      |
3 |                      __   __    ____ _____ ____                      |
4 |                      \ \ / /_ _/ ___|_   _|___ \                     |
5 |                       \ V / _` \___ \ | |   __) |                    |
6 |                        | | (_| |___) || |  / __/                     |
7 |                        |_|\__,_|____/ |_| |_____|                    |
8 |                                                                      |
9 |                               core system                            |
10 |                                                        (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12
13   File:         YWebDialog.h
14
15   Author:       Stefan Hundhammer <sh@suse.de>
16
17 /-*/
18
19
20 #ifndef YWebDialog_h
21 #define YWebDialog_h
22
23 #include <yui/YDialog.h>
24 #include <stack>
25
26
27 class YWebDialog : public YDialog
28 {
29 public:
30
31     /**
32      * Constructor.
33      **/
34     YWebDialog( const YWidgetOpt & opt );
35
36     /**
37      * Destructor.
38      * Don't delete a dialog directly, use YWebDialog::deleteTopmostDialog().
39      **/
40     virtual ~YWebDialog();
41
42     /**
43      * Returns a descriptive name of this widget class for logging,
44      * debugging etc.
45      **/
46     virtual const char * widgetClass() const { return "YWebDialog"; }
47
48 };
49
50
51 #endif // YWebDialog_h