diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
commit | 25221b7d2afb70f82eb3805330fd39a6f6708049 (patch) | |
tree | 6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/Chat/main.cpp | |
parent | ef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (diff) |
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
Diffstat (limited to 'plugins/Chat/main.cpp')
-rw-r--r-- | plugins/Chat/main.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/Chat/main.cpp b/plugins/Chat/main.cpp index e9c344ab61..11090d1fc0 100644 --- a/plugins/Chat/main.cpp +++ b/plugins/Chat/main.cpp @@ -27,9 +27,6 @@ HANDLE g_hWindowList; HMENU g_hMenu = NULL;
int hLangpack;
-struct MM_INTERFACE memoryManagerInterface;
-struct UTF8_INTERFACE utfi;
-
FONTINFO aFonts[OPTIONS_FONTCOUNT];
HICON hIcons[30];
BOOL IEviewInstalled = FALSE;
@@ -88,22 +85,12 @@ extern "C" __declspec(dllexport) const MUUID * MirandaPluginInterfaces(void) extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
{
BOOL bFlag = FALSE;
- HINSTANCE hDll;
-
-#ifndef NDEBUG //mem leak detector :-) Thanks Tornado!
- int flag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); // Get current flag
- flag |= _CRTDBG_LEAK_CHECK_DF; // Turn on leak-checking bit
- _CrtSetDbgFlag(flag); // Set flag to the new value
-#endif
-
pluginLink = link;
// set the memory & utf8 managers
- mir_getMMI( &memoryManagerInterface );
- mir_getUTFI( &utfi );
mir_getLP( &pluginInfo );
- hDll = LoadLibraryA("riched20.dll");
+ HINSTANCE hDll = LoadLibraryA("riched20.dll");
if ( hDll ) {
char modulePath[MAX_PATH];
if (GetModuleFileNameA(hDll, modulePath, MAX_PATH)) {
|