From 500dd4848842f6d4207584417448586d060fbd6a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 Jul 2022 18:07:27 +0300 Subject: Contact: group of functions gathered into the personal namespace --- plugins/Variables/src/contact.cpp | 4 ++-- plugins/Variables/src/parse_miranda.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Variables/src') diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index 67f427d5bc..bb6194aad9 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -156,7 +156,7 @@ wchar_t* getContactInfoT(uint8_t type, MCONTACT hContact) case CNF_UNIQUEID: // UID for ChatRoom - if (Contact_IsGroupChat(hContact, szProto)) + if (Contact::IsGroupChat(hContact, szProto)) if ((res = db_get_wsa(hContact, szProto, "ChatRoomID")) != nullptr) return res; @@ -164,7 +164,7 @@ wchar_t* getContactInfoT(uint8_t type, MCONTACT hContact) break; } - return Contact_GetInfo(type, hContact); + return Contact::GetInfo(type, hContact); } // MS_VARS_GETCONTACTFROMSTRING diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 147f359045..72cf34604e 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -360,7 +360,7 @@ static wchar_t* parseProtoInfo(ARGUMENTSINFO *ai) return nullptr; } else if (!mir_wstrcmp(ai->argv.w[2], _A2W(STR_PINICK))) - wszRes = Contact_GetInfo(CNF_DISPLAY, NULL, szProto); + wszRes = Contact::GetInfo(CNF_DISPLAY, NULL, szProto); if (szRes == nullptr && wszRes == nullptr) return nullptr; -- cgit v1.2.3