libyui-qt  2.47.1.1
YQPackageSelectorPluginStub.h
1 /*
2  Copyright (C) 2000-2012 Novell, Inc
3  This library is free software; you can redistribute it and/or modify
4  it under the terms of the GNU Lesser General Public License as
5  published by the Free Software Foundation; either version 2.1 of the
6  License, or (at your option) version 3.0 of the License. This library
7  is distributed in the hope that it will be useful, but WITHOUT ANY
8  WARRANTY; without even the implied warranty of MERCHANTABILITY or
9  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10  License for more details. You should have received a copy of the GNU
11  Lesser General Public License along with this library; if not, write
12  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13  Floor, Boston, MA 02110-1301 USA
14 */
15 
16 
17 /*-/
18 
19  File: YQPackageSelectorPluginStub.h
20 
21  Authors: Katharina Machalkova <kmachalkova@suse.cz>
22  Stephan Kulow <coolo@suse.de>
23 
24 /-*/
25 
26 
27 #ifndef YQPackageSelectorPluginStub_h
28 #define YQPackageSelectorPluginStub_h
29 
30 #include <yui/YPackageSelectorPlugin.h>
31 #include <yui/YDialog.h>
32 #include <yui/YEvent.h>
33 
34 #include "YQPackageSelectorPluginIf.h"
35 
36 
37 /**
38  * Simplified access to the package selector plugin.
39  **/
41 
42 
43 class YQPackageSelectorPluginStub: public YPackageSelectorPlugin
44 {
45 public:
46  /**
47  * Constructor: Load the plugin library for the package selector.
48  **/
50 
51  /**
52  * Destructor.
53  **/
55 
56  /**
57  * Create a package selector.
58  * Implemented from YPackageSelectorPlugin.
59  *
60  * This might return 0 if the plugin lib could not be loaded or if the
61  * appropriate symbol could not be located in the plugin lib.
62  **/
63  virtual YPackageSelector * createPackageSelector( YWidget * parent,
64  long modeFlags );
65 
66  /**
67  * Create a pattern selector (optional widget).
68  **/
69  virtual YWidget * createPatternSelector( YWidget * parent,
70  long modeFlags );
71 
72  /**
73  * Create a simple patch selector (optional widget).
74  **/
75  virtual YWidget * createSimplePatchSelector( YWidget * parent,
76  long modeFlags );
77 
78 
80 };
81 
82 
83 #endif // YQPackageSelectorPluginStub_h
YQPackageSelectorPluginStub()
Constructor: Load the plugin library for the package selector.
virtual ~YQPackageSelectorPluginStub()
Destructor.
virtual YWidget * createSimplePatchSelector(YWidget *parent, long modeFlags)
Create a simple patch selector (optional widget).
virtual YWidget * createPatternSelector(YWidget *parent, long modeFlags)
Create a pattern selector (optional widget).
virtual YPackageSelector * createPackageSelector(YWidget *parent, long modeFlags)
Create a package selector.