libyui-mga-gtk  1.0.1
YMGAGWidgetFactory.cc
1 /*
2  Copyright 2013 by Angelo Naselli <anaselli at linux dot it>
3 
4  This library is free software; you can redistribute it and/or modify
5  it under the terms of the GNU Lesser General Public License as
6  published by the Free Software Foundation; either version 2.1 of the
7  License, or (at your option) version 3.0 of the License. This library
8  is distributed in the hope that it will be useful, but WITHOUT ANY
9  WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
11  License for more details. You should have received a copy of the GNU
12  Lesser General Public License along with this library; if not, write
13  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
14  Floor, Boston, MA 02110-1301 USA
15 */
16 
17 
18 /*-/
19 
20  File: YMGAGWidgetFactory.cc
21 
22  Author: Angelo Naselli <anaselli@linux.it>
23 
24 /-*/
25 
26 #define YUILogComponent "mga-gtk"
27 #include <yui/YUILog.h>
28 
29 #include "YMGAGWidgetFactory.h"
30 #include <yui/gtk/YGUI.h>
31 #include <yui/YUIException.h>
32 #include <YExternalWidgets.h>
33 
34 
35 #include <string>
36 
37 #include "YMGA_GCBTable.h"
38 
39 using std::string;
40 
41 
43  : YMGAWidgetFactory()
44 {
45  // NOP
46 }
47 
48 
50 {
51  // NOP
52 }
53 
54 
55 YMGA_CBTable *
56 YMGAGWidgetFactory::createCBTable( YWidget * parent, YTableHeader * header, YCBTableMode mode )
57 {
58  YMGA_GCBTable * table = new YMGA_GCBTable( parent, header, mode );
59  YUI_CHECK_NEW( table );
60 
61  return table;
62 }
63 
virtual ~YMGAGWidgetFactory()
Destructor.
YMGAGWidgetFactory()
Constructor.