diff options
Diffstat (limited to 'plugins')
-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 );
|