libyui-qt-pkg
YQPackageSelectorPlugin.h
1 /**************************************************************************
2 Copyright (C) 2000 - 2010 Novell, Inc.
3 All Rights Reserved.
4 
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 
19 **************************************************************************/
20 
21 
22 
23 /*---------------------------------------------------------------------\
24 | |
25 | __ __ ____ _____ ____ |
26 | \ \ / /_ _/ ___|_ _|___ \ |
27 | \ V / _` \___ \ | | __) | |
28 | | | (_| |___) || | / __/ |
29 | |_|\__,_|____/ |_| |_____| |
30 | |
31 | core system |
32 | (c) SuSE Linux AG |
33 \----------------------------------------------------------------------/
34 
35  File: YQPackageSelectorPlugin.h
36 
37  Author: Stefan Hundhammer <shundhammer.de>
38 
39 /-*/
40 
41 
42 #ifndef YQPackageSelectorPlugin_h
43 #define YQPackageSelectorPlugin_h
44 
45 #include <yui/YPackageSelectorPlugin.h>
46 
47 #include "YQPackageSelector.h"
48 #include "YQPatternSelector.h"
49 #include "YQSimplePatchSelector.h"
50 
51 
55 class YQPackageSelectorPlugin: public YPackageSelectorPlugin
56 {
57 public:
58 
63 
68  virtual ~YQPackageSelectorPlugin();
69 
77  virtual YQPackageSelector * createPackageSelector ( YWidget * parent,
78  long modeFlags = 0 );
79 
86  virtual YQPatternSelector * createPatternSelector ( YWidget * parent,
87  long modeFlags = 0 );
94  virtual YQSimplePatchSelector * createSimplePatchSelector( YWidget * parent,
95  long modeFlags = 0 );
96 };
97 
98 
99 
100 #endif // YQPackageSelectorPlugin_h
virtual YQPackageSelector * createPackageSelector(YWidget *parent, long modeFlags=0)
Definition: YQPackageSelectorPlugin.cc:79
Definition: YQPackageSelector.h:85
virtual YQSimplePatchSelector * createSimplePatchSelector(YWidget *parent, long modeFlags=0)
Definition: YQPackageSelectorPlugin.cc:137
Definition: YQPatternSelector.h:57
YQPackageSelectorPlugin()
Definition: YQPackageSelectorPlugin.cc:58
virtual ~YQPackageSelectorPlugin()
Definition: YQPackageSelectorPlugin.cc:72
Definition: YQPackageSelectorPlugin.h:55
Definition: YQSimplePatchSelector.h:56
virtual YQPatternSelector * createPatternSelector(YWidget *parent, long modeFlags=0)
Definition: YQPackageSelectorPlugin.cc:108