diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-16 18:28:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-16 18:28:49 +0000 |
commit | f7e482e4333df76b198b16c7685c2304007fbe79 (patch) | |
tree | dbc5bbd793cba9d4a7ce9c7440664318c53a0d02 /plugins/Db3x_mmap/init.cpp | |
parent | 5b0a53a6d3f1b8d70b34631d96d3815d0a334dd3 (diff) |
dynamic dll checker
git-svn-id: http://svn.miranda-ng.org/main/trunk@989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/init.cpp')
-rw-r--r-- | plugins/Db3x_mmap/init.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/Db3x_mmap/init.cpp b/plugins/Db3x_mmap/init.cpp index dd9e9a36db..dbb83d76ab 100644 --- a/plugins/Db3x_mmap/init.cpp +++ b/plugins/Db3x_mmap/init.cpp @@ -40,8 +40,7 @@ static PLUGININFOEX pluginInfo = { {0xf7a6b27c, 0x9d9c, 0x4a42, { 0xbe, 0x86, 0xa4, 0x48, 0xae, 0x10, 0x91, 0x61 }} //{F7A6B27C-9D9C-4a42-BE86-A448AE109161}
};
-HINSTANCE g_hInst=NULL;
-
+HINSTANCE g_hInst = NULL;
static int getCapability( int flag )
{
@@ -165,11 +164,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirand return &pluginInfo;
}
-static const MUUID interfaces[] = {MIID_DATABASE, MIID_LAST};
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_DATABASE, MIID_LAST};
extern "C" __declspec(dllexport) int Load(void)
{
|