42 Plugin(QLibrary * pLibrary,
const QString &
name);
54 static Plugin *
load(
const QString & szFileName);
55 bool pfree(
char * pBuffer);
58 int call(
const QString & szFunctionName,
int argc,
char * argv[],
char ** pBuffer);
60 void setName(
const QString & szName);
Plugin(QLibrary *pLibrary, const QString &name)
Definition: Plugin.cpp:108
bool unload()
Definition: Plugin.cpp:158
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
void setName(const QString &szName)
Definition: Plugin.cpp:210
bool m_bCanUnload
Definition: Plugin.h:73
int call(const QString &szFunctionName, int argc, char *argv[], char **pBuffer)
Definition: Plugin.cpp:186
~Plugin()
Definition: Plugin.cpp:114
Plugin * getPlugin(const QString &szPluginPath)
Definition: Plugin.cpp:432
QString name() const
Definition: Plugin.cpp:205
void unloadAll()
Definition: Plugin.cpp:365
int(* plugin_canunload)()
Definition: Plugin.h:34
bool canunload()
Definition: Plugin.cpp:173
PluginManager()
Definition: Plugin.cpp:215
int(* plugin_function)(int argc, char *argv[], char **buffer)
Definition: Plugin.h:32
static Plugin * load(const QString &szFileName)
Definition: Plugin.cpp:121
QLibrary * m_pLibrary
Definition: Plugin.h:50
int(* plugin_load)()
Definition: Plugin.h:35
bool pluginCall(KviKvsModuleFunctionCall *c)
Definition: Plugin.cpp:228
bool isPluginLoaded(const QString &szFileNameOrPathToLoad)
Definition: Plugin.cpp:405
~PluginManager()
Definition: Plugin.cpp:223
Definition: KviKvsModuleInterface.h:110
bool pfree(char *pBuffer)
Definition: Plugin.cpp:143
QString m_szName
Definition: Plugin.h:51
bool findPlugin(QString &szName)
Definition: Plugin.cpp:377
bool loadPlugin(const QString &szPluginPath)
Definition: Plugin.cpp:414
int(* plugin_free)(char *pBuffer)
Definition: Plugin.h:36
int(* plugin_unload)()
Definition: Plugin.h:33
KviPointerHashTable< QString, Plugin > * m_pPluginDict
Definition: Plugin.h:75
bool checkUnload()
Definition: Plugin.cpp:338