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/UserInfoEx/src/ctrl_annivedit.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/UserInfoEx/src/ctrl_annivedit.cpp') diff --git a/plugins/UserInfoEx/src/ctrl_annivedit.cpp b/plugins/UserInfoEx/src/ctrl_annivedit.cpp index c0041d26e5..f71a0ff047 100644 --- a/plugins/UserInfoEx/src/ctrl_annivedit.cpp +++ b/plugins/UserInfoEx/src/ctrl_annivedit.cpp @@ -140,7 +140,7 @@ void CAnnivEditCtrl::EnableCurrentItem() MAnnivDate *pCurrent = Current(); if (pCurrent) { - HCONTACT hContact; + MCONTACT hContact; PSGetContact(_hwndDlg, hContact); @@ -233,7 +233,7 @@ INT_PTR CAnnivEditCtrl::DeleteDate(WORD wIndex) // only delete values, but not the item if (_pDates[wIndex]->Id() == ANID_BIRTHDAY) { - HCONTACT hContact; + MCONTACT hContact; LPCSTR pszProto; PSGetContact(_hwndDlg, hContact); @@ -273,7 +273,7 @@ INT_PTR CAnnivEditCtrl::DeleteDate(WORD wIndex) * param: * return: 0 on success 1 otherwise **/ -INT_PTR CAnnivEditCtrl::DBGetBirthDay(HCONTACT hContact, LPCSTR pszProto) +INT_PTR CAnnivEditCtrl::DBGetBirthDay(MCONTACT hContact, LPCSTR pszProto) { MAnnivDate mdb; @@ -290,7 +290,7 @@ INT_PTR CAnnivEditCtrl::DBGetBirthDay(HCONTACT hContact, LPCSTR pszProto) * param: * return: 0 on success 1 otherwise **/ -INT_PTR CAnnivEditCtrl::DBGetAnniversaries(HCONTACT hContact) +INT_PTR CAnnivEditCtrl::DBGetAnniversaries(MCONTACT hContact) { MAnnivDate mda; @@ -317,7 +317,7 @@ INT_PTR CAnnivEditCtrl::DBGetAnniversaries(HCONTACT hContact) * param: hContact - the contact to write the anniversaries to * return: 0 on success 1 otherwise **/ -INT_PTR CAnnivEditCtrl::DBWriteBirthDay(HCONTACT hContact) +INT_PTR CAnnivEditCtrl::DBWriteBirthDay(MCONTACT hContact) { MAnnivDate *pmdb; @@ -346,7 +346,7 @@ INT_PTR CAnnivEditCtrl::DBWriteBirthDay(HCONTACT hContact) * param: hContact - the contact to write the anniversaries to * return: 0 on success 1 otherwise **/ -INT_PTR CAnnivEditCtrl::DBWriteAnniversaries(HCONTACT hContact) +INT_PTR CAnnivEditCtrl::DBWriteAnniversaries(MCONTACT hContact) { const LPCSTR szPrefix[] = { "Reminder", "Offset", "Desc", "Day", "Month", "Year", "Stamp", "Date" }; CHAR szSet0[MAXSETTING]; @@ -526,7 +526,7 @@ void CAnnivEditCtrl::OnRemindEditChanged() **/ void CAnnivEditCtrl::OnReminderChecked() { - HCONTACT hContact; + MCONTACT hContact; LPCSTR pszProto; int state; TCHAR buf[6]; @@ -606,7 +606,7 @@ void CAnnivEditCtrl::SetZodiacAndAge(MAnnivDate *mt) } } -BOOL CAnnivEditCtrl::OnInfoChanged(HCONTACT hContact, LPCSTR pszProto) +BOOL CAnnivEditCtrl::OnInfoChanged(MCONTACT hContact, LPCSTR pszProto) { BOOL bChanged; bChanged = DBGetBirthDay(hContact, pszProto); @@ -616,7 +616,7 @@ BOOL CAnnivEditCtrl::OnInfoChanged(HCONTACT hContact, LPCSTR pszProto) return bChanged; } -void CAnnivEditCtrl::OnApply(HCONTACT hContact, LPCSTR pszProto) +void CAnnivEditCtrl::OnApply(MCONTACT hContact, LPCSTR pszProto) { DBWriteBirthDay(hContact); DBWriteAnniversaries(hContact); -- cgit v1.2.3