aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/system/plugin.h
diff options
context:
space:
mode:
authorGravatar Alexey Uzhva2008-08-27 12:38:22 +0000
committerGravatar Alexey Uzhva2008-08-27 12:38:22 +0000
commitec516765cfd4a4384c4cdaa6bbcd28e6aa578b27 (patch)
tree22d7243f3bdc46316b18caae044375b9bc67d1aa /src/modules/system/plugin.h
parentfixes for listview and KviBuildInfo (diff)
downloadKVIrc-ec516765cfd4a4384c4cdaa6bbcd28e6aa578b27.tar.gz
KVIrc-ec516765cfd4a4384c4cdaa6bbcd28e6aa578b27.tar.bz2
KVIrc-ec516765cfd4a4384c4cdaa6bbcd28e6aa578b27.zip
no more libdl dependency. modulenames now unicode.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2314 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/system/plugin.h')
-rw-r--r--src/modules/system/plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/system/plugin.h b/src/modules/system/plugin.h
index 03e3c9a9a..3b51cbcaa 100644
--- a/src/modules/system/plugin.h
+++ b/src/modules/system/plugin.h
@@ -26,7 +26,7 @@
#include "kvi_module.h"
#include "kvi_pointerhashtable.h"
-
+#include <QLibrary>
typedef int (*plugin_function)(int argc, char* argv[], char ** buffer);
typedef int (*plugin_unload)();
typedef int (*plugin_canunload)();
@@ -37,14 +37,14 @@ class KviPlugin
{
protected:
// You have to create plugin instance by calling KviPlugin::load()
- KviPlugin(kvi_library_t pLib, const QString& name);
+ KviPlugin(QLibrary * pLibrary,const QString& name);
public:
~KviPlugin();
private:
// shared
// internal
- kvi_library_t m_Plugin;
- QString m_szName;
+ QLibrary *m_pLibrary;
+ QString m_szName;
public:
static KviPlugin* load(const QString& szFileName);
bool pfree(char * pBuffer);