libyui
3.0.10
|
#include <YPackageSelectorPlugin.h>
Public Member Functions | |
virtual YPackageSelector * | createPackageSelector (YWidget *parent, long modeFlags=0)=0 |
Protected Member Functions | |
YPackageSelectorPlugin (const char *pluginLibBaseName) | |
virtual | ~YPackageSelectorPlugin () |
Abstract base class for simplified access to UI plugins for package selection.
Definition at line 38 of file YPackageSelectorPlugin.h.
YPackageSelectorPlugin::YPackageSelectorPlugin | ( | const char * | pluginLibBaseName | ) | [inline, protected] |
Constructor: Load the specified plugin library from the standard UI plugin directory (/usr/lib/yui/).
Definition at line 45 of file YPackageSelectorPlugin.h.
virtual YPackageSelectorPlugin::~YPackageSelectorPlugin | ( | ) | [inline, protected, virtual] |
Destructor. Calls dlclose() which will unload the plugin library if it is no longer used, i.e. if the reference count dlopen() uses reaches 0.
Definition at line 52 of file YPackageSelectorPlugin.h.
virtual YPackageSelector* YPackageSelectorPlugin::createPackageSelector | ( | YWidget * | parent, |
long | modeFlags = 0 |
||
) | [pure virtual] |
Create a package selector. Derived classes need to implement this.
This might return 0 if the plugin lib could not be loaded or if the appropriate symbol could not be located in the plugin lib.