diff options
Diffstat (limited to 'plugins/CryptoPP')
-rw-r--r-- | plugins/CryptoPP/commonheaders.cpp | 1 | ||||
-rw-r--r-- | plugins/CryptoPP/commonheaders.h | 2 | ||||
-rw-r--r-- | plugins/CryptoPP/main.cpp | 7 |
3 files changed, 2 insertions, 8 deletions
diff --git a/plugins/CryptoPP/commonheaders.cpp b/plugins/CryptoPP/commonheaders.cpp index 395da89d5f..04a92adb1c 100644 --- a/plugins/CryptoPP/commonheaders.cpp +++ b/plugins/CryptoPP/commonheaders.cpp @@ -3,7 +3,6 @@ LPCSTR szModuleName = MODULENAME;
LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")";
HINSTANCE g_hInst;
-MUUID interfaces[] = {MIID_CRYPTOPP, MIID_LAST};
HANDLE hPGPPRIV = NULL;
HANDLE hRSA4096 = NULL;
diff --git a/plugins/CryptoPP/commonheaders.h b/plugins/CryptoPP/commonheaders.h index 4f2ff10845..4e94917d78 100644 --- a/plugins/CryptoPP/commonheaders.h +++ b/plugins/CryptoPP/commonheaders.h @@ -79,7 +79,6 @@ extern BOOL isVista; // shared vars
extern HINSTANCE g_hInst;
extern PLUGININFOEX pluginInfoEx;
-extern MUUID interfaces[];
extern HANDLE hPGPPRIV;
extern HANDLE hRSA4096;
@@ -107,7 +106,6 @@ extern "C" { DLLEXPORT int Load(PLUGINLINK *);
DLLEXPORT PLUGININFOEX *MirandaPluginInfoEx(DWORD);
- DLLEXPORT MUUID* MirandaPluginInterfaces(void);
DLLEXPORT int Unload();
DLLEXPORT HANDLE __cdecl cpp_create_context(int); // create crypt-context
diff --git a/plugins/CryptoPP/main.cpp b/plugins/CryptoPP/main.cpp index 2a2639d74a..b5fcf6ad01 100644 --- a/plugins/CryptoPP/main.cpp +++ b/plugins/CryptoPP/main.cpp @@ -28,16 +28,13 @@ BOOL WINAPI DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID) return TRUE;
}
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_CRYPTOPP, MIID_LAST};
+
PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfoEx;
}
-MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
int onModulesLoaded(WPARAM wParam,LPARAM lParam)
{
// updater plugin support
|