summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/classMAnnivDate.h
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/UserInfoEx/src/classMAnnivDate.h
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/UserInfoEx/src/classMAnnivDate.h')
-rw-r--r--plugins/UserInfoEx/src/classMAnnivDate.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/UserInfoEx/src/classMAnnivDate.h b/plugins/UserInfoEx/src/classMAnnivDate.h
index acc3790b96..c2ebffbe89 100644
--- a/plugins/UserInfoEx/src/classMAnnivDate.h
+++ b/plugins/UserInfoEx/src/classMAnnivDate.h
@@ -50,8 +50,8 @@ private:
BYTE _bRemind; // per user setting for reminder (0 - disabled, 1 - use local offset, 2 - use global offset)
WORD _wDaysEarlier; // number of days to the anniversary the user wants to be reminded of this anniversary
- int DBWriteDate(HANDLE hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear);
- int DBDeleteDate(HANDLE hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear) const;
+ int DBWriteDate(HCONTACT hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear);
+ int DBDeleteDate(HCONTACT hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear) const;
public:
MAnnivDate();
@@ -93,23 +93,23 @@ public:
void Clear();
// read date from database
- int DBGetDate(HANDLE hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear);
- int DBGetDateStamp(HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
- int DBGetAnniversaryDate(HANDLE hContact, WORD iIndex);
- int DBGetBirthDate(HANDLE hContact, LPSTR pszProto = NULL);
- int DBGetReminderOpts(HANDLE hContact);
+ int DBGetDate(HCONTACT hContact, LPCSTR pszModule, LPCSTR szDay, LPCSTR szMonth, LPCSTR szYear);
+ int DBGetDateStamp(HCONTACT hContact, LPCSTR pszModule, LPCSTR pszSetting);
+ int DBGetAnniversaryDate(HCONTACT hContact, WORD iIndex);
+ int DBGetBirthDate(HCONTACT hContact, LPSTR pszProto = NULL);
+ int DBGetReminderOpts(HCONTACT hContact);
// write date to database
- int DBWriteDateStamp(HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
- int DBWriteAnniversaryDate(HANDLE hContact, WORD wIndex);
- int DBWriteBirthDate(HANDLE hContact);
- int DBWriteReminderOpts(HANDLE hContact);
+ int DBWriteDateStamp(HCONTACT hContact, LPCSTR pszModule, LPCSTR pszSetting);
+ int DBWriteAnniversaryDate(HCONTACT hContact, WORD wIndex);
+ int DBWriteBirthDate(HCONTACT hContact);
+ int DBWriteReminderOpts(HCONTACT hContact);
// delete date from database
- int DBDeleteBirthDate(HANDLE hContact);
+ int DBDeleteBirthDate(HCONTACT hContact);
- int DBMoveBirthDate(HANDLE hContact, BYTE bOld, BYTE bNew);
- int BackupBirthday (HANDLE hContact, LPSTR pszProto = NULL, const BYTE bDontIgnoreAnything = FALSE, PWORD lastAnswer = NULL);
+ int DBMoveBirthDate(HCONTACT hContact, BYTE bOld, BYTE bNew);
+ int BackupBirthday (HCONTACT hContact, LPSTR pszProto = NULL, const BYTE bDontIgnoreAnything = FALSE, PWORD lastAnswer = NULL);
// setting values
void SetDate(SYSTEMTIME &st);