X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fobjects%2Fcalendarobject%2FCalendarObject.h;h=2b450fc0f6b523d5b5c389bf4350050abfa09ef5;hb=284c77ac5ae39b716dca3b88b365dc335759af22;hp=1c700c4dad3712fc8d30e0d938eb8b3f34010c55;hpb=1278c332f6292bd961155ad45029144c8a806a1e;p=xestiacalendar%2F.git diff --git a/source/objects/calendarobject/CalendarObject.h b/source/objects/calendarobject/CalendarObject.h index 1c700c4..2b450fc 100644 --- a/source/objects/calendarobject/CalendarObject.h +++ b/source/objects/calendarobject/CalendarObject.h @@ -14,17 +14,76 @@ using namespace std; enum CalendarObjectLoadResult { - CALENDAROBJECTLOAD_UNITTESTFAIL = -1, - CALENDAROBJECTLOAD_OK, - CALENDAROBJECTLOAD_MISSING, - CALENDAROBJECTLOAD_INVALIDFORMAT, - CALENDAROBJECTLOAD_CANNOTOPEN + CALENDAROBJECTLOAD_UNITTESTFAIL = -1, + CALENDAROBJECTLOAD_OK, + CALENDAROBJECTLOAD_MISSING, + CALENDAROBJECTLOAD_INVALIDFORMAT, + CALENDAROBJECTLOAD_CANNOTOPEN }; enum CalendarObjectValidResult{ - CALENDAROBJECTVALID_UNITTESTFAIL = -1, - CALENDAROBJECTVALID_OK, - CALENDAROBJECTVALID_INVALIDFORMAT + CALENDAROBJECTVALID_UNITTESTFAIL = -1, + CALENDAROBJECTVALID_OK, + CALENDAROBJECTVALID_INVALIDFORMAT +}; + +enum CalendarAlarmAction{ + CALENDARALARM_UNSPECIFIED = -1, + CALENDARALARM_AUDIO, + CALENDARALARM_DISPLAY, + CALENDARALARM_EMAIL +}; + +struct CalendarAlarmDataStruct{ + + CalendarAlarmAction AlarmType = CALENDARALARM_UNSPECIFIED; + + string AlarmAction; + string AlarmActionTokens; + + string TriggerData; + string TriggerValue; + string TriggerTokens; + + string DescriptionData; + string DescriptionAltRep; + string DescriptionLanguage; + string DescriptionTokens; + + string RepeatData; + string RepeatTokens; + + string SummaryData; + string SummaryAltRep; + string SummaryLanguage; + string SummaryTokens; + + vector AttendeeList; + vector AttendeeListMember; + vector AttendeeListDelegatedFrom; + vector AttendeeListDelegatedTo; + vector AttendeeListRole; + vector AttendeeListRSVP; + vector AttendeeListDirectoryEntry; + vector AttendeeListSentBy; + vector AttendeeListCommonName; + vector AttendeeListCalendarUserType; + vector AttendeeListParticipationStatus; + vector AttendeeListLanguage; + vector AttendeeListTokens; + + string DurationData; + string DurationTokens; + + vector AttachList; + vector AttachListTokens; + vector AttachListEncoding; + vector AttachListFormatType; + vector AttachListValue; + + vector XTokensData; + vector XTokensDataTokens; + }; class CalendarObject{ @@ -223,11 +282,16 @@ class CalendarObject{ vector RequestStatusLanguage; vector RequestStatusTokens; + vector CalendarAlarmData; + protected: // Initial Loading Data. vector ObjectName; vector ObjectData; - + + vector> EventAlarmName; + vector> EventAlarmData; + private: virtual void ProcessData() {};