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/WhenWasIt/src/hooked_events.cpp | 2 +- plugins/WhenWasIt/src/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/WhenWasIt') diff --git a/plugins/WhenWasIt/src/hooked_events.cpp b/plugins/WhenWasIt/src/hooked_events.cpp index 789b36a4cc..621505ccf3 100644 --- a/plugins/WhenWasIt/src/hooked_events.cpp +++ b/plugins/WhenWasIt/src/hooked_events.cpp @@ -92,7 +92,7 @@ int RefreshContactListIcons(MCONTACT hContact) if (hContact == 0) return 0; - bool hidden = Contact_IsHidden(hContact); + bool hidden = Contact::IsHidden(hContact); int ignored = db_get_dw(hContact, "Ignore", "Mask1", 0); ignored = ((ignored & 0x3f) != 0) ? 1 : 0; int ok = 1; diff --git a/plugins/WhenWasIt/src/utils.cpp b/plugins/WhenWasIt/src/utils.cpp index 5067e42768..1318b15a7e 100644 --- a/plugins/WhenWasIt/src/utils.cpp +++ b/plugins/WhenWasIt/src/utils.cpp @@ -145,7 +145,7 @@ wchar_t* GetContactID(MCONTACT hContact) wchar_t* GetContactID(MCONTACT hContact, char *szProto) { - ptrW res(Contact_GetInfo(CNF_UNIQUEID, hContact, szProto)); + ptrW res(Contact::GetInfo(CNF_UNIQUEID, hContact, szProto)); return (res) ? wcsdup(res) : nullptr; } -- cgit v1.2.3