X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fobjects%2FCalDAV%2FCalDAV.h;h=f237669ee1d8f727b156eace91ab0518766973b1;hb=df7f1973d6e4ce9e5d8cf98c57247e1d4f0682bc;hp=9e9d5533618f4d88e9d3dd1d2a570febf1ef4b53;hpb=8916c05c5281bf0c97419df6e7ce6d641c56fb3e;p=xestiacalendar%2F.git diff --git a/source/objects/CalDAV/CalDAV.h b/source/objects/CalDAV/CalDAV.h index 9e9d553..f237669 100644 --- a/source/objects/CalDAV/CalDAV.h +++ b/source/objects/CalDAV/CalDAV.h @@ -123,6 +123,7 @@ class CalDAV{ string ProcessXMLUserPrincipal(); string ProcessXMLCalendarHome(); CalDAVCalendarList ProcessXMLCalendarList(); + string ProcessXMLEntryETag(); bool MatchXMLNameTransverse(xmlNodePtr *NodePtr, string NodeName); bool MatchXMLName(xmlNodePtr *NodePtrOriginal, string NodeName); string FetchXMLData(xmlNodePtr *NodePtr); @@ -147,6 +148,7 @@ class CalDAV{ CalDAVServerResult GetServerResult(); CalDAVServerSupport GetServerSupport(); CalDAVCalendarList GetCalendars(); + CalDAVServerResult AddCalendar(string CalendarName); CalDAVServerResult EditCalendar(string *CalendarHREF, @@ -162,8 +164,17 @@ class CalDAV{ int *CalendarOrder); CalDAVServerResult EditCalendarDescription(string *CalendarHREF, string *CalendarDescription); + + CalDAVServerResult DeleteCalendar(string *CalendarHREF); + + CalDAVServerResult AddEntry(string *CalendarEntryHREF, string *EntryData); + CalDAVServerResult EditEntry(string *CalendarEntryHREF, string *EntryData, string *EntryETag); + CalDAVServerResult DeleteEntry(string *CalendarEntryHREF); + string GetUserPrincipal(); string GetCalendarHome(string UserPrincipalURI); + + CalDAVServerResult GetEntryETag(string *CalendarEntryHREF, string *ETagValue); };