diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-20 07:42:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-20 07:42:30 +0000 |
commit | 9af11cd3eecbfb6e524623b6304fcacfe77bbfff (patch) | |
tree | 9c8e323261856514e9775115ae852acc672ff4c1 /plugins/Clist_modern/src/modern_clistsettings.cpp | |
parent | f1d383510f4cb3c89f799d9be1bad4c47d452f82 (diff) |
non-redefined function pfnClcBroadcast made static -> Clist_Broadcast
also its async variant created and published as Clist_BroadcastAsync
git-svn-id: http://svn.miranda-ng.org/main/trunk@17108 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistsettings.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistsettings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_clistsettings.cpp b/plugins/Clist_modern/src/modern_clistsettings.cpp index 08b5b17827..70665ab9cc 100644 --- a/plugins/Clist_modern/src/modern_clistsettings.cpp +++ b/plugins/Clist_modern/src/modern_clistsettings.cpp @@ -106,7 +106,7 @@ int MetaStatusChanged(WPARAM hMeta, LPARAM) {
ClcCacheEntry *pdnce = pcli->pfnGetCacheEntry(hMeta);
if (pdnce)
- pcli->pfnClcBroadcast(INTM_STATUSCHANGED, hMeta, 0);
+ Clist_Broadcast(INTM_STATUSCHANGED, hMeta, 0);
return 0;
}
@@ -139,7 +139,7 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) if ((db_get_w(NULL, "CList", "SecondLineType", 0) == TEXT_STATUS_MESSAGE || db_get_w(NULL, "CList", "ThirdLineType", 0) == TEXT_STATUS_MESSAGE) && pdnce->hContact && pdnce->m_pszProto)
amRequestAwayMsg(hContact);
- pcli->pfnClcBroadcast(INTM_STATUSCHANGED, hContact, 0);
+ Clist_Broadcast(INTM_STATUSCHANGED, hContact, 0);
}
else if (!strcmp(cws->szModule, META_PROTO) && !memcmp(cws->szSetting, "Status", 6)) { // Status0..N for metacontacts
if (pcli->hwndContactTree && g_flag_bOnModulesLoadedCalled)
@@ -161,7 +161,7 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) if (!strcmp(cws->szModule, "CList")) {
// name is null or (setting is myhandle)
if (!strcmp(cws->szSetting, "Rate"))
- pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
+ Clist_Broadcast(CLM_AUTOREBUILD, 0, 0);
else if (!strcmp(cws->szSetting, "NotOnList"))
pdnce->NotOnList = cws->value.bVal;
@@ -174,11 +174,11 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) if (cws->value.type == DBVT_DELETED || cws->value.bVal == 0)
pcli->pfnChangeContactIcon(hContact, pcli->pfnIconFromStatusMode(pdnce->m_pszProto, pdnce->getStatus(), hContact));
- pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
+ Clist_Broadcast(CLM_AUTOREBUILD, 0, 0);
}
else if (!strcmp(cws->szSetting, "noOffline")) {
pdnce->m_bNoHiddenOffline = cws->value.bVal;
- pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
+ Clist_Broadcast(CLM_AUTOREBUILD, 0, 0);
}
}
else if (!strcmp(cws->szModule, "Protocol")) {
|