diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-25 21:53:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-25 21:53:56 +0000 |
commit | 06bb38dfa357a731e16980d03ab100b84e5cb989 (patch) | |
tree | 686bd8edc9e71087bb943ec3fe6dbb5193d09247 /plugins/CmdLine/src/CmdLine.cpp | |
parent | cc6abc9eed963a2659c121ddec136f1ab4256535 (diff) |
MS_CLUI_GETHWND & MS_CLUI_GETHWNDTREE replaced with pcli->hwndContactList & pcli->hwndContactTree respectively
git-svn-id: http://svn.miranda-ng.org/main/trunk@14386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CmdLine/src/CmdLine.cpp')
-rw-r--r-- | plugins/CmdLine/src/CmdLine.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/CmdLine/src/CmdLine.cpp b/plugins/CmdLine/src/CmdLine.cpp index a8224f5b49..1b281cff61 100644 --- a/plugins/CmdLine/src/CmdLine.cpp +++ b/plugins/CmdLine/src/CmdLine.cpp @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. char ModuleName[] = "CmdLine";
HINSTANCE hInstance;
int hLangpack;
+CLIST_INTERFACE *pcli;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
@@ -46,14 +47,12 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD) extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
+ mir_getCLI();
if (InitServer())
- {
MessageBox(0, TranslateT("Could not initialize CmdLine plugin property"), TranslateT("Error"), MB_ICONEXCLAMATION | MB_OK);
- }
HookEvents();
-
return 0;
}
@@ -64,7 +63,6 @@ extern "C" int __declspec(dllexport) Unload() UnhookEvents();
DestroyServer();
-
return 0;
}
@@ -72,4 +70,4 @@ bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) {
hInstance = hinstDLL;
return TRUE;
-}
\ No newline at end of file +}
|