diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-05 17:59:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-05 17:59:29 +0300 |
commit | b1ac2547316dca56f32d238d50dc2dc6c8e8aedf (patch) | |
tree | 87483cb57f6a97b1c66e8d3a7d47427731efd9ed /plugins/MirandaG15/src | |
parent | 200566e2070f941e26ea52078bc8326d4fb76ee0 (diff) |
CLIST_INTERFACE::pfnGetStatusModeDescription => Clist_GetStatusModeDescription
Diffstat (limited to 'plugins/MirandaG15/src')
-rw-r--r-- | plugins/MirandaG15/src/CAppletManager.cpp | 4 | ||||
-rw-r--r-- | plugins/MirandaG15/src/CChatScreen.cpp | 2 | ||||
-rw-r--r-- | plugins/MirandaG15/src/CContactList.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MirandaG15/src/CAppletManager.cpp b/plugins/MirandaG15/src/CAppletManager.cpp index 2f3375b481..fb5a268077 100644 --- a/plugins/MirandaG15/src/CAppletManager.cpp +++ b/plugins/MirandaG15/src/CAppletManager.cpp @@ -1431,7 +1431,7 @@ int CAppletManager::HookStatusChanged(WPARAM wParam, LPARAM lParam) tstring strName = CAppletManager::GetContactDisplayname(Event.hContact, true); // Get status String - Event.strValue = toTstring(pcli->pfnGetStatusModeDescription(iStatus, 0)); + Event.strValue = toTstring(Clist_GetStatusModeDescription(iStatus, 0)); // check if this is an irc protocol CIRCConnection *pIRCCon = CAppletManager::GetInstance()->GetIRCConnection(strProto); @@ -1577,7 +1577,7 @@ int CAppletManager::HookProtoAck(WPARAM, LPARAM lParam) Event.strValue = strProto; // set the event description / summary - tstring strStatus = toTstring(pcli->pfnGetStatusModeDescription(iNewStatus, 0)); + tstring strStatus = toTstring(Clist_GetStatusModeDescription(iNewStatus, 0)); Event.strDescription = L"(" + Event.strValue + L") " + TranslateString(L"You are now %s", strStatus.c_str()); Event.strSummary = TranslateString(L"Protocol status change"); diff --git a/plugins/MirandaG15/src/CChatScreen.cpp b/plugins/MirandaG15/src/CChatScreen.cpp index 132b5ad2f2..8fb8c7af79 100644 --- a/plugins/MirandaG15/src/CChatScreen.cpp +++ b/plugins/MirandaG15/src/CChatScreen.cpp @@ -178,7 +178,7 @@ void CChatScreen::UpdateLabels() m_iStatus = db_get_w(m_hContact,szProto,"Status",ID_STATUS_OFFLINE);
}
- wchar_t *szStatus = pcli->pfnGetStatusModeDescription(m_iStatus, 0);
+ wchar_t *szStatus = Clist_GetStatusModeDescription(m_iStatus, 0);
if(szStatus != nullptr)
strStatus = toTstring(szStatus);
diff --git a/plugins/MirandaG15/src/CContactList.cpp b/plugins/MirandaG15/src/CContactList.cpp index e4000552a9..43126f5f0e 100644 --- a/plugins/MirandaG15/src/CContactList.cpp +++ b/plugins/MirandaG15/src/CContactList.cpp @@ -108,7 +108,7 @@ void CContactList::AddContact(MCONTACT hContact) return;
int iStatus = db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE);
- wchar_t *szStatus = pcli->pfnGetStatusModeDescription(iStatus, 0);
+ wchar_t *szStatus = Clist_GetStatusModeDescription(iStatus, 0);
CContactListEntry *psContact = new CContactListEntry();
@@ -690,7 +690,7 @@ void CContactList::OnStatusChange(MCONTACT hContact, int iStatus) int iOldStatus = pItemData->iStatus;
// Update the list entry
- wchar_t *szStatus = pcli->pfnGetStatusModeDescription(iStatus, 0);
+ wchar_t *szStatus = Clist_GetStatusModeDescription(iStatus, 0);
if (szStatus != nullptr)
pItemData->strStatus = toTstring(szStatus);
|