diff options
Diffstat (limited to 'plugins/mTextControl/src/main.cpp')
-rw-r--r-- | plugins/mTextControl/src/main.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/mTextControl/src/main.cpp b/plugins/mTextControl/src/main.cpp index a3573b27da..da32323cb0 100644 --- a/plugins/mTextControl/src/main.cpp +++ b/plugins/mTextControl/src/main.cpp @@ -48,9 +48,6 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvRe return TRUE;
}
-static HANDLE hModulesLoaded = 0;
-static int ModulesLoaded(WPARAM wParam,LPARAM lParam);
-
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfoEx;
@@ -72,36 +69,20 @@ extern "C" __declspec(dllexport) int Load(void) GetProcAddress(hMsfteditDll, "CreateTextServices");
}
-// LoadFancy();
LoadEmfCache();
LoadRichEdit();
LoadTextUsers();
LoadServices();
- //LoadOptions();
MTextControl_RegisterClass();
- hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
- return 0;
-}
-
-static int ModulesLoaded(WPARAM wParam,LPARAM lParam)
-{
-// char fn[MAX_PATH+1];
-// GetModuleFileName(hInst, fn, MAX_PATH);
-// InitFancy();
-// InitIcons(icons, fn, iconCount);
return 0;
}
extern "C" __declspec(dllexport) int Unload(void)
{
- UnhookEvent(hModulesLoaded);
-// UnloadOptions();
- UnloadServices();
UnloadTextUsers();
UnloadRichEdit();
UnloadEmfCache();
-// UnloadFancy();
FreeLibrary(hMsfteditDll);
return 0;
}
|