libyui  3.3.1
YExternalWidgetFactory.h
1 /*
2  Copyright (C) 2013 Angelo Naselli <anaselli at linux dot it>
3 
4  This file is part of libyui project
5 
6  This library is free software; you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as
8  published by the Free Software Foundation; either version 2.1 of the
9  License, or (at your option) version 3.0 of the License. This library
10  is distributed in the hope that it will be useful, but WITHOUT ANY
11  WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
13  License for more details. You should have received a copy of the GNU
14  Lesser General Public License along with this library; if not, write
15  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
16  Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef YExternalWidgetFactory_h
20 #define YExternalWidgetFactory_h
21 
22 /**
23  * Abstract widget factory for mandatory widgets.
24  * Use YOptionalWidgetFactory for optional ("special") widgets.
25  * YExternalWidgetFactory is used for external widgets, e.g. user defined plugin.
26  *
27  * Refer to the respective widget's documentation (in the header file) for
28  * documentation about the function parameters.
29  **/
31 {
32 protected:
33 
34  friend class YUI;
35  friend class YExternalWidgets;
36 
37  /**
38  * Constructor.
39  *
40  * Use YExternalWidgets::widgetExtensionFactory() to get the singleton for this class.
41  **/
43 
44  /**
45  * Destructor.
46  **/
48 
49 }; // class YExternalWidgetFactory
50 
51 #endif // YExternalWidgetFactory_h
Abstract base class of a libYUI user interface.
Definition: YUI.h:48
YExternalWidgetFactory()
Constructor.
Abstract base class of a libYUI Widget Extension interface.
virtual ~YExternalWidgetFactory()
Destructor.
Abstract widget factory for mandatory widgets.