X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Fmonthviewgen.h;h=913d279ceba61a7fb9a0f7fcfb585ff6d0c808ec;hb=22339c898f8c04af609419f036828323b26f480f;hp=e71116756de6f15919af86050398e852703d13f5;hpb=d4957eff5d161e41f0e33d0e93fbed5eb4deb674;p=xestiacalendar%2F.git diff --git a/source/common/monthviewgen.h b/source/common/monthviewgen.h index e711167..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,8 +21,31 @@ #include #include -#include -int PreviousMonthNumberofDays(int Month, int Year); +using namespace std; + +struct XCCalendarMonthViewGridDayData{ + + int day = 1; + int month = 1; + int year = 1; + bool isInMonth = false; + +}; + +struct XCCalendarMonthViewGridDayWeek{ + + vector dayList; + +}; + +struct XCCalendarMonthViewGrid{ + + vector weekList; + +}; + +XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year); +int PreviousMonthNumberofDays(int month, int year); #endif \ No newline at end of file