summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_annivedit.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-28 14:55:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-28 14:55:49 +0000
commit056d2be888a4235a109a123b7b2a715aa3ff72ba (patch)
treeb1956081bb951f44ced81414db7656a832613b71 /plugins/UserInfoEx/src/ctrl_annivedit.h
parent5f03619d3bbda7a617f50ded2698cffc434dd525 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_annivedit.h')
-rw-r--r--plugins/UserInfoEx/src/ctrl_annivedit.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_annivedit.h b/plugins/UserInfoEx/src/ctrl_annivedit.h
index b01278ef2c..ee6307f8ed 100644
--- a/plugins/UserInfoEx/src/ctrl_annivedit.h
+++ b/plugins/UserInfoEx/src/ctrl_annivedit.h
@@ -33,14 +33,14 @@ class CAnnivEditCtrl : public CBaseCtrl
HWND _hBtnAdd; // add anniversary button
HWND _hBtnDel; // delete anniversary button
- BOOLEAN _ReminderEnabled;
+ BYTE _ReminderEnabled;
- MAnnivDate** _pDates;
- WORD _numDates;
- WORD _curDate;
+ MAnnivDate** _pDates;
+ WORD _numDates;
+ WORD _curDate;
- BOOLEAN ItemValid(WORD wIndex) const;
- BOOLEAN CurrentItemValid() const;
+ BYTE ItemValid(WORD wIndex) const;
+ BYTE CurrentItemValid() const;
INT_PTR DBGetBirthDay(HANDLE hContact, LPCSTR pszProto);
INT_PTR DBWriteBirthDay(HANDLE hContact);
@@ -56,25 +56,25 @@ public:
MAnnivDate* Current() { return CurrentItemValid() ? _pDates[_curDate] : NULL; };
WORD CurrentIndex() const { return _curDate; };
WORD NumDates() const { return _numDates; };
- BOOLEAN ReminderEnabled() const { return _ReminderEnabled; };
+ BYTE ReminderEnabled() const { return _ReminderEnabled; };
MAnnivDate* FindDateById(const WORD wId);
- VOID EnableCurrentItem();
- VOID EnableReminderCtrl(BOOLEAN bEnabled);
+ void EnableCurrentItem();
+ void EnableReminderCtrl(BYTE bEnabled);
INT_PTR SetCurSel(WORD wIndex);
INT_PTR AddDate(MAnnivDate &mda);
INT_PTR DeleteDate(WORD wIndex);
- VOID SetZodiacAndAge(MAnnivDate *mt);
+ void SetZodiacAndAge(MAnnivDate *mt);
// notification handlers
- VOID OnMenuPopup();
- VOID OnDateChanged(LPNMDATETIMECHANGE lpChange);
- VOID OnRemindEditChanged();
- VOID OnReminderChecked();
+ void OnMenuPopup();
+ void OnDateChanged(LPNMDATETIMECHANGE lpChange);
+ void OnRemindEditChanged();
+ void OnReminderChecked();
/**
* CBaseCtrl interface:
@@ -86,9 +86,9 @@ public:
static CBaseCtrl* CreateObj(HWND hDlg, WORD idCtrl, LPCSTR pszSetting);
- virtual VOID Release();
+ virtual void Release();
virtual BOOL OnInfoChanged(HANDLE hContact, LPCSTR pszProto);
- virtual VOID OnApply(HANDLE hContact, LPCSTR pszProto);
+ virtual void OnApply(HANDLE hContact, LPCSTR pszProto);
};
#endif /* _UINFOEX_CTRLANNIVEDIT_H_ */ \ No newline at end of file