libyui-mga-ncurses
1.1.0
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
virtual
YMGAMenuBar * createMenuBar(YWidget * parent);
46
47
protected
:
48
49
friend
class
YNCWE
;
50
51
/**
52
* Constructor.
53
*
54
* Use YUI::widgetFactory() to get the singleton for this class.
55
**/
56
YMGANCWidgetFactory
();
57
58
/**
59
* Destructor.
60
**/
61
virtual
~YMGANCWidgetFactory
();
62
63
};
// class YWidgetFactory
64
65
66
#endif // YMGANCWidgetFactory_h
YMGANCWidgetFactory::YMGANCWidgetFactory
YMGANCWidgetFactory()
Constructor.
Definition:
YMGANCWidgetFactory.cc:41
YNCWE
Definition:
YNCWE.h:29
YMGANCWidgetFactory::~YMGANCWidgetFactory
virtual ~YMGANCWidgetFactory()
Destructor.
Definition:
YMGANCWidgetFactory.cc:48
YMGANCWidgetFactory
Concrete widget factory for mandatory widgets.
Definition:
YMGANCWidgetFactory.h:40
src
YMGANCWidgetFactory.h
Generated by
1.8.18