NNetPluginManager::NNetPlugin Class Reference

QLibrary derivative; Performs the actual loading of plugins, and object creation. More...

#include <nnetplugin.h>


Public Member Functions

 NNetPlugin (const QString &modulename)
 Initializes the QLibrary with modulename.

virtual ~NNetPlugin ()
 Destroys the QLibrary object and unloads the library if possible.

int init_module (char **prefix, char **name, char **desc, int *version)
 Retrieves the name, description, and version information from the plugin.

NNet * getObject (int id)
 Creates and returns a new NNet object from the plugin library, with an id of id.

nvemOptionsWidget * getOptionsWidget ()
 Creates and returns the options widget for the plugin.


Detailed Description

QLibrary derivative; Performs the actual loading of plugins, and object creation.


Constructor & Destructor Documentation

NNetPluginManager::NNetPlugin::NNetPlugin (  const QString &  modulename  ) 
 

Initializes the QLibrary with modulename.

NNetPluginManager::NNetPlugin::~NNetPlugin (   )  [virtual]
 

Destroys the QLibrary object and unloads the library if possible.


Member Function Documentation

NNet * NNetPluginManager::NNetPlugin::getObject (  int  id  ) 
 

Creates and returns a new NNet object from the plugin library, with an id of id.

nvemOptionsWidget * NNetPluginManager::NNetPlugin::getOptionsWidget (   ) 
 

Creates and returns the options widget for the plugin.

int NNetPluginManager::NNetPlugin::init_module (  char **  prefix,
char **  name,
char **  desc,
int *  version
) 
 

Retrieves the name, description, and version information from the plugin.


The documentation for this class was generated from the following files:
Generated on Wed Oct 22 20:32:05 2003 for nvemftp by doxygen1.3