diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-16 19:56:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-16 19:56:59 +0000 |
commit | cf2966326de39e86fa52b34c91aee2a29a31bdab (patch) | |
tree | a6a05803cbb85146c3f1fee249ad0e8998959e51 /protocols/IcqOscarJ/src/icq_servlist.cpp | |
parent | 2053ba5bd4f1f43d960ddeb40fa10568e2254f25 (diff) |
old helpers FindFirstContact/FindNextContact removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8144 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_servlist.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_servlist.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/IcqOscarJ/src/icq_servlist.cpp b/protocols/IcqOscarJ/src/icq_servlist.cpp index ae2497dabe..dac87bdf52 100644 --- a/protocols/IcqOscarJ/src/icq_servlist.cpp +++ b/protocols/IcqOscarJ/src/icq_servlist.cpp @@ -975,7 +975,7 @@ void CIcqProto::LoadServerIDs() nGroups = nServerIDListCount - nStart;
- MCONTACT hContact = FindFirstContact();
+ MCONTACT hContact = db_find_first(m_szModuleName);
while (hContact)
{ // search all our contacts, reserve their server IDs
@@ -1000,7 +1000,7 @@ void CIcqProto::LoadServerIDs() nIgnores++;
}
- hContact = FindNextContact(hContact);
+ hContact = db_find_next(hContact, m_szModuleName);
}
servlistMutex->Leave();
@@ -1363,7 +1363,7 @@ void* CIcqProto::collectBuddyGroup(WORD wGroupID, int *count) MCONTACT hContact;
WORD wItemID;
- hContact = FindFirstContact();
+ hContact = db_find_first(m_szModuleName);
while (hContact)
{ // search all contacts
@@ -1380,7 +1380,7 @@ void* CIcqProto::collectBuddyGroup(WORD wGroupID, int *count) }
}
- hContact = FindNextContact(hContact);
+ hContact = db_find_next(hContact, m_szModuleName);
}
if (count)
@@ -1398,7 +1398,7 @@ void* CIcqProto::collectGroups(int *count) MCONTACT hContact;
WORD wGroupID;
- hContact = FindFirstContact();
+ hContact = db_find_first(m_szModuleName);
while (hContact)
{ // search all contacts
@@ -1417,7 +1417,7 @@ void* CIcqProto::collectGroups(int *count) }
}
- hContact = FindNextContact(hContact);
+ hContact = db_find_next(hContact, m_szModuleName);
}
*count = cnt<<1;
|