X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Flibraries%2FCalendarDataStorage%2FCalendarDataStorage.h;h=1e934df22d2cb56f5aab6e0769add351f217d980;hp=47c70b523589373493401d61364757a05204a529;hb=49789773e2797383c866dca470fb99e80cb49e41;hpb=e302a149a147c693cff6ca8bed0a0d8cb856e5b5 diff --git a/source/libraries/CalendarDataStorage/CalendarDataStorage.h b/source/libraries/CalendarDataStorage/CalendarDataStorage.h index 47c70b5..1e934df 100644 --- a/source/libraries/CalendarDataStorage/CalendarDataStorage.h +++ b/source/libraries/CalendarDataStorage/CalendarDataStorage.h @@ -1,3 +1,21 @@ +// CalendarDataStorage.h - CalendarDataStorage class header +// +// (c) 2016-2017 Xestia Software Development. +// +// This file is part of Xestia Calendar. +// +// 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 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. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Calendar. If not, see + #ifndef __LIBRARIES_CALENDARDATASTORAGE_H__ #define __LIBRARIES_CALENDARDATASTORAGE_H__ @@ -13,17 +31,17 @@ #include "../../common/colour.h" #include "../../common/random.h" -/*enum CDSAddEntryResult{ - CDSADDENTRY_UNITTESTFAIL = -1, - CDSADDENTRY_OK -}*/ +#if defined(WIN32) +#include +#endif enum CDSAccountResult{ CDSACCOUNT_UNITTESTFAIL = -1, CDSACCOUNT_OK, CDSACCOUNT_FAILED, CDSACCOUNT_NOACTION, - CDSACCOUNT_NOACCOUNT + CDSACCOUNT_NOACCOUNT, + CDSACCOUNT_NONAME }; enum CDSCalendarResult{ @@ -31,6 +49,7 @@ enum CDSCalendarResult{ CDSCALENDAR_OK, CDSCALENDAR_FAILED, CDSCALENDAR_NOACTION, + CDSCALENDAR_NOACCOUNT, CDSCALENDAR_NOCALENDAR };