diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-07 16:14:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-07 16:14:47 +0000 |
commit | 7339bc08a765b87b0140e350a05fcf0d22a57722 (patch) | |
tree | d3031f91d458a14cf4e24fe461c8e143c0f18cc9 /plugins/StatusPlugins | |
parent | fa23da25513fa2d056413cadb51ae3fadc3b5e5d (diff) |
mir_getCLI() - a helper for MS_CLIST_RETRIEVE_INTERFACE, just call it without parameters
git-svn-id: http://svn.miranda-ng.org/main/trunk@4368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins')
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/main.cpp | 2 | ||||
-rw-r--r-- | plugins/StatusPlugins/KeepStatus/main.cpp | 2 | ||||
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/main.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp index a08f18af0c..ac41956d2d 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp +++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp @@ -78,7 +78,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_AUTOAW extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP( &pluginInfoEx );
- pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
+ mir_getCLI();
autoAwaySettings = new OBJLIST<TAAAProtoSetting>(10, CompareSettings);
diff --git a/plugins/StatusPlugins/KeepStatus/main.cpp b/plugins/StatusPlugins/KeepStatus/main.cpp index 10cdc9a5df..1baa85e758 100644 --- a/plugins/StatusPlugins/KeepStatus/main.cpp +++ b/plugins/StatusPlugins/KeepStatus/main.cpp @@ -77,7 +77,7 @@ 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);
+ mir_getCLI();
InitCommonStatus();
diff --git a/plugins/StatusPlugins/StartupStatus/main.cpp b/plugins/StatusPlugins/StartupStatus/main.cpp index 65488c63a5..690dc1e39b 100644 --- a/plugins/StatusPlugins/StartupStatus/main.cpp +++ b/plugins/StatusPlugins/StartupStatus/main.cpp @@ -73,7 +73,7 @@ static INT_PTR SrvGetProfile( WPARAM wParam, LPARAM lParam ) extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP( &pluginInfoEx );
- pcli = (CLIST_INTERFACE*)CallService( MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
+ mir_getCLI();
if ( db_get_b(NULL, MODULENAME, SETTING_SETPROFILE, 1) ||
db_get_b(NULL, MODULENAME, SETTING_OFFLINECLOSE, 0))
|