KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Plugin Class Reference

#include <Plugin.h>

Public Member Functions

int call (const QString &szFunctionName, int argc, char *argv[], char **pBuffer)
 
bool canunload ()
 
QString name () const
 
bool pfree (char *pBuffer)
 
void setName (const QString &szName)
 
bool unload ()
 
 ~Plugin ()
 

Static Public Member Functions

static Pluginload (const QString &szFileName)
 

Protected Member Functions

 Plugin (QLibrary *pLibrary, const QString &name)
 

Private Attributes

QLibrary * m_pLibrary
 
QString m_szName
 

Constructor & Destructor Documentation

Plugin::Plugin ( QLibrary *  pLibrary,
const QString &  name 
)
protected

References m_pLibrary, m_szName, and name().

Referenced by load().

Plugin::~Plugin ( )

References m_pLibrary.

Member Function Documentation

int Plugin::call ( const QString &  szFunctionName,
int  argc,
char *  argv[],
char **  pBuffer 
)

References m_pLibrary, and r.

Referenced by PluginManager::pluginCall().

bool Plugin::canunload ( )

References m_pLibrary.

Referenced by PluginManager::checkUnload().

Plugin * Plugin::load ( const QString &  szFileName)
static
QString Plugin::name ( ) const

References m_szName.

Referenced by Plugin().

bool Plugin::pfree ( char *  pBuffer)

References m_pLibrary.

Referenced by PluginManager::pluginCall().

void Plugin::setName ( const QString &  szName)

References m_szName.

bool Plugin::unload ( )

Member Data Documentation

QLibrary* Plugin::m_pLibrary
private
QString Plugin::m_szName
private

Referenced by name(), Plugin(), and setName().


The documentation for this class was generated from the following files: