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 /protocols/Dummy/src/dummy_proto.cpp | |
parent | b47e4b4b32698470bf52c0dc1c2d1af56c46c9b5 (diff) |
Contact: group of functions gathered into the personal namespace
Diffstat (limited to 'protocols/Dummy/src/dummy_proto.cpp')
-rw-r--r-- | protocols/Dummy/src/dummy_proto.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp index 28a1b735c6..fe075aab59 100644 --- a/protocols/Dummy/src/dummy_proto.cpp +++ b/protocols/Dummy/src/dummy_proto.cpp @@ -174,12 +174,12 @@ MCONTACT CDummyProto::AddToList(int flags, PROTOSEARCHRESULT* psr) Proto_AddToContact(hContact, m_szModuleName); if (flags & PALF_TEMPORARY) { - Contact_Hide(hContact); - Contact_RemoveFromList(hContact); + Contact::Hide(hContact); + Contact::RemoveFromList(hContact); } - else if (!Contact_OnList(hContact)) { - Contact_Hide(hContact, false); - Contact_PutOnList(hContact); + else if (!Contact::OnList(hContact)) { + Contact::Hide(hContact, false); + Contact::PutOnList(hContact); } setWString(hContact, _T2A(uniqueIdSetting), psr->id.w); setWString(hContact, "Nick", psr->id.w); |