X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Fmonthviewgen.h;h=913d279ceba61a7fb9a0f7fcfb585ff6d0c808ec;hb=22339c898f8c04af609419f036828323b26f480f;hp=ee046ca9fddd6f115c96f8d964f83d508a4c3c91;hpb=f6e325350072fe3ece746e70f46e87dfddb66f2c;p=xestiacalendar%2F.git diff --git a/source/common/monthviewgen.h b/source/common/monthviewgen.h index ee046ca..913d279 100644 --- a/source/common/monthviewgen.h +++ b/source/common/monthviewgen.h @@ -1,14 +1,14 @@ // monthviewgen.h - Xestia Calendar month view generation functions header. // -// (c) 2016 Xestia Software Development. +// (c) 2016-2017 Xestia Software Development. // // This file is part of Xestia Calendar. // -// Xestia Address Book is free software: you can redistribute it and/or modify +// Xestia Calendar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the // Free Software Foundation, version 3 of the license. // -// Xestia Address Book is distributed in the hope that it will be useful, +// Xestia Calendar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -21,32 +21,31 @@ #include #include -#include using namespace std; struct XCCalendarMonthViewGridDayData{ - int Day = 1; - int Month = 1; - int Year = 1; - bool IsInMonth = false; + int day = 1; + int month = 1; + int year = 1; + bool isInMonth = false; }; struct XCCalendarMonthViewGridDayWeek{ - vector DayList; + vector dayList; }; struct XCCalendarMonthViewGrid{ - vector WeekList; + vector weekList; }; -XCCalendarMonthViewGrid GenerateMonthGrid(int Month, int Year); -int PreviousMonthNumberofDays(int Month, int Year); +XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year); +int PreviousMonthNumberofDays(int month, int year); #endif \ No newline at end of file