diff options
author | George Hazan <ghazan@miranda.im> | 2022-07-31 18:07:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-07-31 18:07:27 +0300 |
commit | 500dd4848842f6d4207584417448586d060fbd6a (patch) | |
tree | 569ac641e814da1d706d36b12eaf35183a3ce7a5 /plugins/WhenWasIt | |
parent | b47e4b4b32698470bf52c0dc1c2d1af56c46c9b5 (diff) |
Contact: group of functions gathered into the personal namespace
Diffstat (limited to 'plugins/WhenWasIt')
-rw-r--r-- | plugins/WhenWasIt/src/hooked_events.cpp | 2 | ||||
-rw-r--r-- | plugins/WhenWasIt/src/utils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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;
}
|