From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhenWasIt/src/birthdays.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/WhenWasIt/src/birthdays.cpp') diff --git a/plugins/WhenWasIt/src/birthdays.cpp b/plugins/WhenWasIt/src/birthdays.cpp index d3615a06f9..ccea05193f 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(HCONTACT hContact, HANDLE hClistIcon) +int CBirthdays::Add(MCONTACT hContact, HANDLE hClistIcon) { if ( !Contains(hContact)) { EnsureCapacity(); @@ -107,12 +107,12 @@ int CBirthdays::Remove(int index) return -1; } -int CBirthdays::Remove(HCONTACT hContact) +int CBirthdays::Remove(MCONTACT hContact) { return Remove( Index(hContact)); } -int CBirthdays::Contains(HCONTACT hContact) const +int CBirthdays::Contains(MCONTACT hContact) const { for (int i = 0; i < count; i++) if (birthdays[i]->hContact == hContact) @@ -121,7 +121,7 @@ int CBirthdays::Contains(HCONTACT hContact) const return FALSE; } -int CBirthdays::Index(HCONTACT hContact) const +int CBirthdays::Index(MCONTACT 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(HCONTACT hContact) const +HANDLE CBirthdays::GetClistIcon(MCONTACT hContact) const { int index = Index(hContact); if ((index >= 0) && (index < count)) -- cgit v1.2.3