libyui-qt-pkg  2.45.15.2
YQZyppSolverDialogPluginStub.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 | \ V / _` \___ \ | | __) | |
27 | | | (_| |___) || | / __/ |
28 | |_|\__,_|____/ |_| |_____| |
29 | |
30 | core system |
31 | (c) SuSE Linux AG |
32 \----------------------------------------------------------------------/
33 
34  File: YQZyppSolverDialogPluginStub.h
35 
36  Authors: Stefan Schubert <schubi@suse.de>
37 
38 /-*/
39 
40 // -*- c++ -*-
41 
42 #ifndef YQZyppSolverDialogPluginStub_h
43 #define YQZyppSolverDialogPluginStub_h
44 
45 
46 #include "YUIPlugin.h"
47 
48 #include "YQZyppSolverDialogPluginIf.h"
49 #include <zypp/PoolItem.h>
50 
51 class YWidget;
52 
53 /**
54  * Simplified access to the QZyppSolverDialog plugin.
55  **/
57 
58 
59 class YQZyppSolverDialogPluginStub: public YUIPlugin
60 {
61 public:
62  /**
63  * Constructor: Load the plugin library for the QZyppDialog widget
64  **/
66 
67  /**
68  * Destructor.
69  **/
71 
72  /**
73  * Create and show a QZyppDialog widget
74  *
75  * This might return 0 if the plugin lib could not be loaded or if the
76  * appropriate symbol could not be located in the plugin lib.
77  **/
78  virtual bool createZyppSolverDialog( const zypp::PoolItem item );
79 
80 
82 };
83 
84 
85 #endif // YQZyppSolverDialogPluginStub_h
YQZyppSolverDialogPluginStub()
Constructor: Load the plugin library for the QZyppDialog widget.
virtual bool createZyppSolverDialog(const zypp::PoolItem item)
Create and show a QZyppDialog widget.
virtual ~YQZyppSolverDialogPluginStub()
Destructor.