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/Variables | |
parent | 200566e2070f941e26ea52078bc8326d4fb76ee0 (diff) |
CLIST_INTERFACE::pfnGetStatusModeDescription => Clist_GetStatusModeDescription
Diffstat (limited to 'plugins/Variables')
-rw-r--r-- | plugins/Variables/src/contact.cpp | 2 | ||||
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index 6a49e0b4f5..c2ab526b37 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -135,7 +135,7 @@ wchar_t* getContactInfoT(BYTE type, MCONTACT hContact) return mir_a2u(protoname);
case CCNF_STATUS:
- return mir_wstrdup(pcli->pfnGetStatusModeDescription(db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0));
+ return mir_wstrdup(Clist_GetStatusModeDescription(db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0));
case CCNF_INTERNALIP:
case CCNF_EXTERNALIP:
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 43610db3fc..d272620528 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -25,7 +25,7 @@ static wchar_t* parseCodeToStatus(ARGUMENTSINFO *ai) return nullptr;
unsigned int status = ttoi(ai->targv[1]);
- wchar_t *szStatus = pcli->pfnGetStatusModeDescription(status, 0);
+ wchar_t *szStatus = Clist_GetStatusModeDescription(status, 0);
if (szStatus != nullptr)
return mir_wstrdup(szStatus);
@@ -303,7 +303,7 @@ static wchar_t* parseLastSeenStatus(ARGUMENTSINFO *ai) if (status == 0)
return nullptr;
- wchar_t *szStatus = pcli->pfnGetStatusModeDescription(status, 0);
+ wchar_t *szStatus = Clist_GetStatusModeDescription(status, 0);
if (szStatus != nullptr)
return mir_wstrdup(szStatus);
@@ -334,7 +334,7 @@ static wchar_t* parseMyStatus(ARGUMENTSINFO *ai) else
status = CallProtoService(_T2A(ai->targv[1]), PS_GETSTATUS, 0, 0);
- wchar_t *szStatus = pcli->pfnGetStatusModeDescription(status, 0);
+ wchar_t *szStatus = Clist_GetStatusModeDescription(status, 0);
return (szStatus != nullptr) ? mir_wstrdup(szStatus) : nullptr;
}
|