libyui-mga-ncurses  1.0.1
YMGANCWidgetFactory.h
1 /*
2  This library is free software; you can redistribute it and/or modify
3  it under the terms of the GNU Lesser General Public License as
4  published by the Free Software Foundation; either version 2.1 of the
5  License, or (at your option) version 3.0 of the License. This library
6  is distributed in the hope that it will be useful, but WITHOUT ANY
7  WARRANTY; without even the implied warranty of MERCHANTABILITY or
8  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
9  License for more details. You should have received a copy of the GNU
10  Lesser General Public License along with this library; if not, write
11  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
12  Floor, Boston, MA 02110-1301 USA
13 */
14 
15 
16 /*-/
17 
18  File: YMGANCWidgetFactory.h
19 
20  Author: Angelo Naselli <anaselli@linux.it>
21 
22 /-*/
23 
24 #ifndef YMGANCWidgetFactory_h
25 #define YMGANCWidgetFactory_h
26 
27 
28 #include <yui/mga/YMGAWidgetExtensionFactory.h>
29 
30 #include "YMGA_CBTable.h"
31 
32 
33 using std::string;
34 
35 
36 /**
37  * Concrete widget factory for mandatory widgets.
38  **/
39 class YMGANCWidgetFactory: public YMGAWidgetFactory
40 {
41 public:
42 
43  virtual YMGA_CBTable * createCBTable ( YWidget * parent, YTableHeader * header_disown, YCBTableMode mode = YCBTableCheckBoxOnFirstColumn );
44 
45 
46 protected:
47 
48  friend class YNCWE;
49 
50  /**
51  * Constructor.
52  *
53  * Use YUI::widgetFactory() to get the singleton for this class.
54  **/
56 
57  /**
58  * Destructor.
59  **/
60  virtual ~YMGANCWidgetFactory();
61 
62 }; // class YWidgetFactory
63 
64 
65 #endif // YMGANCWidgetFactory_h
virtual ~YMGANCWidgetFactory()
Destructor.
Concrete widget factory for mandatory widgets.
YMGANCWidgetFactory()
Constructor.
Definition: YNCWE.h:28