libyui-mga-ncurses
1.0.1
YMGANCWidgetFactory.cc
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.cc
19
20
Author: Angelo Naselli <anaselli@linux.it>
21
22
/-*/
23
24
#define YUILogComponent "mga-gtk"
25
#include <yui/YUILog.h>
26
27
#include "YMGANCWidgetFactory.h"
28
#include <yui/ncurses/YNCursesUI.h>
29
#include <yui/YUIException.h>
30
#include <YExternalWidgets.h>
31
32
33
#include <string>
34
35
#include "YMGA_NCCBTable.h"
36
37
using
std::string;
38
39
40
YMGANCWidgetFactory::YMGANCWidgetFactory
()
41
: YMGAWidgetFactory()
42
{
43
// NOP
44
}
45
46
47
YMGANCWidgetFactory::~YMGANCWidgetFactory
()
48
{
49
// NOP
50
}
51
52
53
YMGA_CBTable *
54
YMGANCWidgetFactory::createCBTable( YWidget * parent, YTableHeader * header_disown, YCBTableMode mode )
55
{
56
YMGA_NCCBTable
* table =
new
YMGA_NCCBTable
( parent, header_disown, mode );
57
YUI_CHECK_NEW( table );
58
59
return
table;
60
}
61
YMGANCWidgetFactory::~YMGANCWidgetFactory
virtual ~YMGANCWidgetFactory()
Destructor.
Definition:
YMGANCWidgetFactory.cc:47
YMGANCWidgetFactory::YMGANCWidgetFactory
YMGANCWidgetFactory()
Constructor.
Definition:
YMGANCWidgetFactory.cc:40
YMGA_NCCBTable
Definition:
YMGA_NCCBTable.h:34
src
YMGANCWidgetFactory.cc
Generated by
1.8.13