KVIrc
4.9.2
DeveloperAPIs
|
#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 Plugin * | load (const QString &szFileName) |
Protected Member Functions | |
Plugin (QLibrary *pLibrary, const QString &name) | |
Private Attributes | |
QLibrary * | m_pLibrary |
QString | m_szName |
|
protected |
References m_pLibrary, m_szName, and name().
Referenced by load().
Plugin::~Plugin | ( | ) |
References m_pLibrary.
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().
|
static |
References KviFileUtils::extractFileName(), and Plugin().
Referenced by PluginManager::loadPlugin().
bool Plugin::pfree | ( | char * | pBuffer | ) |
References m_pLibrary.
Referenced by PluginManager::pluginCall().
void Plugin::setName | ( | const QString & | szName | ) |
References m_szName.
bool Plugin::unload | ( | ) |
References m_pLibrary.
Referenced by PluginManager::checkUnload(), and PluginManager::unloadAll().
|
private |