diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-25 21:12:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-25 21:12:45 +0000 |
commit | e89a8f4030443506d4f40d1a3bc6a8cec65531e7 (patch) | |
tree | c4883aaa7ad171ae556bceb47323310137efce38 | |
parent | 3873ba081f6ef7c725170a469abdd975ab801e03 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2501 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/main.cpp | 2 | ||||
-rw-r--r-- | plugins/StatusPlugins/KeepStatus/main.cpp | 5 | ||||
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/main.cpp | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp index 4cd6e31f4d..bc74f42fc5 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp +++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp @@ -28,6 +28,7 @@ #define MIID_ADVAUTOAWAY { 0xf0fdf73a, 0x753d, 0x499d, { 0x8d, 0xba, 0x33, 0x6d, 0xb7, 0x9c, 0xdd, 0x41 } }
HINSTANCE hInst, hCore = NULL;
+CLIST_INTERFACE *pcli;
HANDLE hCSModuleLoadedHook;
HANDLE hStateChangedEvent;
@@ -74,6 +75,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP( &pluginInfoEx );
+ pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
autoAwaySettings = new OBJLIST<TAAAProtoSetting>(10, CompareSettings);
diff --git a/plugins/StatusPlugins/KeepStatus/main.cpp b/plugins/StatusPlugins/KeepStatus/main.cpp index 8766d489b3..972b144d5f 100644 --- a/plugins/StatusPlugins/KeepStatus/main.cpp +++ b/plugins/StatusPlugins/KeepStatus/main.cpp @@ -30,9 +30,8 @@ HANDLE hCSModuleLoadedHook = NULL; HANDLE hConnectionEvent = NULL;
HANDLE hStopRecon = NULL, hEnableProto = NULL, hIsProtoEnabled = NULL, hAnnounceStat = NULL;
-
HINSTANCE hInst;
-
+CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////////////////
// dll entry point
@@ -79,8 +78,8 @@ INT_PTR AnnounceStatusChangeService(WPARAM wParam, LPARAM lParam); extern "C" int __declspec(dllexport) Load(void)
{
-
mir_getLP( &pluginInfoEx );
+ pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
InitCommonStatus();
diff --git a/plugins/StatusPlugins/StartupStatus/main.cpp b/plugins/StatusPlugins/StartupStatus/main.cpp index 4c60b198ae..fc74bb2a05 100644 --- a/plugins/StatusPlugins/StartupStatus/main.cpp +++ b/plugins/StatusPlugins/StartupStatus/main.cpp @@ -31,7 +31,7 @@ static HANDLE HINSTANCE hInst;
int hLangpack = 0;
-CLIST_INTERFACE* pcli;
+CLIST_INTERFACE *pcli;
int CSModuleLoaded( WPARAM, LPARAM );
|