summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt/src/birthdays.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 08:04:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 08:04:30 +0000
commitddba4ede6b451d0cfcd0d32b5180fbd0689966bf (patch)
tree5d74f37a7013d13b92c182628d6b68a58e148ae4 /plugins/WhenWasIt/src/birthdays.cpp
parentc39340bf493a1745a41317bbf937fc7eb6cbb26a (diff)
- HANDLE hContact => HCONTACT
- GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/birthdays.cpp')
-rw-r--r--plugins/WhenWasIt/src/birthdays.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/WhenWasIt/src/birthdays.cpp b/plugins/WhenWasIt/src/birthdays.cpp
index a99ed2e868..d3615a06f9 100644
--- a/plugins/WhenWasIt/src/birthdays.cpp
+++ b/plugins/WhenWasIt/src/birthdays.cpp
@@ -82,7 +82,7 @@ void CBirthdays::Realloc(int increaseCapacity)
birthdays = (PBirthdayContact *) realloc(birthdays, size * sizeof(PBirthdayContact));
}
-int CBirthdays::Add(HANDLE hContact, HANDLE hClistIcon)
+int CBirthdays::Add(HCONTACT hContact, HANDLE hClistIcon)
{
if ( !Contains(hContact)) {
EnsureCapacity();
@@ -107,12 +107,12 @@ int CBirthdays::Remove(int index)
return -1;
}
-int CBirthdays::Remove(HANDLE hContact)
+int CBirthdays::Remove(HCONTACT hContact)
{
return Remove( Index(hContact));
}
-int CBirthdays::Contains(HANDLE hContact) const
+int CBirthdays::Contains(HCONTACT hContact) const
{
for (int i = 0; i < count; i++)
if (birthdays[i]->hContact == hContact)
@@ -121,7 +121,7 @@ int CBirthdays::Contains(HANDLE hContact) const
return FALSE;
}
-int CBirthdays::Index(HANDLE hContact) const
+int CBirthdays::Index(HCONTACT hContact) const
{
for (int i = 0; i < count; i++)
if (birthdays[i]->hContact == hContact)
@@ -140,7 +140,7 @@ int CBirthdays::GetAdvancedIconIndex() const
return advancedIcon;
}
-HANDLE CBirthdays::GetClistIcon(HANDLE hContact) const
+HANDLE CBirthdays::GetClistIcon(HCONTACT hContact) const
{
int index = Index(hContact);
if ((index >= 0) && (index < count))