X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fobjects%2FCalDAV%2FCalDAV.h;h=f237669ee1d8f727b156eace91ab0518766973b1;hb=df7f1973d6e4ce9e5d8cf98c57247e1d4f0682bc;hp=0774cc08299b3a72f5662d1cba2a8914284cfb1b;hpb=39170edf0dd21e9ab01541d3308b73cefa2bf7c2;p=xestiacalendar%2F.git diff --git a/source/objects/CalDAV/CalDAV.h b/source/objects/CalDAV/CalDAV.h index 0774cc0..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); @@ -146,7 +147,6 @@ class CalDAV{ CalDAVServerResult Connect(); CalDAVServerResult GetServerResult(); CalDAVServerSupport GetServerSupport(); - CalDAVCalendarList GetCalendars(); CalDAVServerResult AddCalendar(string CalendarName); @@ -168,9 +168,13 @@ class CalDAV{ 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); };