YPackageSelectorPlugin Class Reference

#include <YPackageSelectorPlugin.h>

Inheritance diagram for YPackageSelectorPlugin:

YUIPlugin

List of all members.

Public Member Functions

virtual YWidgetcreatePackageSelector (YWidget *parent, YWidgetOpt &opt)=0

Protected Member Functions

 YPackageSelectorPlugin (const char *pluginLibBaseName)
virtual ~YPackageSelectorPlugin ()


Detailed Description

Abstract base class for simplified access to UI plugins for package selection.

Constructor & Destructor Documentation

YPackageSelectorPlugin::YPackageSelectorPlugin ( const char *  pluginLibBaseName  )  [inline, protected]

Constructor: Load the specified plugin library from the standard UI plugin directory (/usr/lib/YaST2/plugin).

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.


Member Function Documentation

virtual YWidget* YPackageSelectorPlugin::createPackageSelector ( YWidget parent,
YWidgetOpt opt 
) [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.


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 01:27:49 2007 for yast2-core by  doxygen 1.5.3