diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 22:45:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 22:45:42 +0000 |
commit | 0afd3fae06d577b2f5a277597bd94d300b56e2b6 (patch) | |
tree | 43e146aac9a9b2223fae7d6f89c88432aaf9c2b7 /plugins/UserInfoEx/src/classMAnnivDate.cpp | |
parent | 3944b14a2aaad2fcb95bf448d9b18c35e6f74ec8 (diff) |
adaptation of UInfoEx for new functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@14919 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/classMAnnivDate.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/classMAnnivDate.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/classMAnnivDate.cpp b/plugins/UserInfoEx/src/classMAnnivDate.cpp index 6663f4a275..9aa6ba77f0 100644 --- a/plugins/UserInfoEx/src/classMAnnivDate.cpp +++ b/plugins/UserInfoEx/src/classMAnnivDate.cpp @@ -73,7 +73,7 @@ void MAnnivDate::Clear() * param: none
* return: nothing
**/
-void MAnnivDate::SetDate(SYSTEMTIME &st)
+void MAnnivDate::SetDate(const SYSTEMTIME &st)
{
ZeroDate();
Year(st.wYear);
@@ -88,7 +88,7 @@ void MAnnivDate::SetDate(SYSTEMTIME &st) * param: none
* return: nothing
**/
-void MAnnivDate::SetDate(MAnnivDate &mda)
+void MAnnivDate::SetDate(const MAnnivDate &mda)
{
SetDate(mda.SystemTime());
_wID = mda.Id();
@@ -210,9 +210,10 @@ int MAnnivDate::Age(MTime *pNow) * return: structure, holding zodiac information
**/
-struct {
- const WORD startDays;
- const WORD endDays;
+struct
+{
+ WORD startDays;
+ WORD endDays;
LPCTSTR szZodiac;
LPCSTR szZodiacIcon;
}
|