From 25221b7d2afb70f82eb3805330fd39a6f6708049 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 23:41:55 +0000 Subject: mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances. all related functions moved to mir_core. git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CryptoPP/commonheaders.cpp | 3 +-- plugins/CryptoPP/commonheaders.h | 7 +++---- plugins/CryptoPP/main.cpp | 1 - 3 files changed, 4 insertions(+), 7 deletions(-) (limited to 'plugins/CryptoPP') diff --git a/plugins/CryptoPP/commonheaders.cpp b/plugins/CryptoPP/commonheaders.cpp index 30452a36ee..df04c81dfd 100644 --- a/plugins/CryptoPP/commonheaders.cpp +++ b/plugins/CryptoPP/commonheaders.cpp @@ -4,7 +4,6 @@ LPCSTR szModuleName = MODULENAME; LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")"; HINSTANCE g_hInst; PLUGINLINK *pluginLink; -MM_INTERFACE mmi={0}; MUUID interfaces[] = {MIID_CRYPTOPP, MIID_LAST}; HANDLE hPGPPRIV = NULL; @@ -26,7 +25,7 @@ PLUGININFOEX pluginInfoEx = { "baloo@bk.ru", "© 2006-09 Baloo", "http://miranda-im.org/download/details.php?action=viewfile&id=2669", - 0, 0, + 0, 0, MIID_CRYPTOPP }; diff --git a/plugins/CryptoPP/commonheaders.h b/plugins/CryptoPP/commonheaders.h index 2e9fb4277d..0bcc553f64 100644 --- a/plugins/CryptoPP/commonheaders.h +++ b/plugins/CryptoPP/commonheaders.h @@ -9,15 +9,15 @@ #define _SCL_SECURE_NO_WARNINGS #if _MSC_VER >= 1300 //#pragma comment (compiler,"/GS-") -//#pragma comment (linker,"/NODEFAULTLIB:libcmt.lib") +//#pragma comment (linker,"/NODEFAULTLIB:libcmt.lib") //#pragma comment (lib,"../../lib/msvcrt.lib") //#pragma comment (lib,"../../lib/msvcrt71.lib") #else #ifndef _DEBUG #pragma optimize("gsy", on) #endif -#endif -#endif +#endif +#endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 @@ -101,7 +101,6 @@ extern BOOL isVista; extern HINSTANCE g_hInst; extern PLUGINLINK *pluginLink; extern PLUGININFOEX pluginInfoEx; -//extern MM_INTERFACE mmi; extern MUUID interfaces[]; extern HANDLE hPGPPRIV; diff --git a/plugins/CryptoPP/main.cpp b/plugins/CryptoPP/main.cpp index 4c0a798e52..8ef6c310f5 100644 --- a/plugins/CryptoPP/main.cpp +++ b/plugins/CryptoPP/main.cpp @@ -57,7 +57,6 @@ int Load(PLUGINLINK *link) { DisableThreadLibraryCalls(g_hInst); // get memoryManagerInterface address - mir_getMMI( &mmi ); mir_getLP(&pluginInfoEx); // register plugin module -- cgit v1.2.3