X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fobjects%2FCalDAV%2FCalDAV.h;h=d632a604caff242e1a80e01be7ee38499dab549c;hb=3c82d9b1245400208b2d167683a82a39cdbc2689;hp=208d11b7995a7ed680dcc58de21e19b0fe1b075f;hpb=91fbe7fbe1eb9b7dd98faccb64102c7b0e7beeeb;p=xestiacalendar%2F.git diff --git a/source/objects/CalDAV/CalDAV.h b/source/objects/CalDAV/CalDAV.h index 208d11b..d632a60 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,9 @@ class CalDAV{ CalDAVServerResult Connect(); CalDAVServerResult GetServerResult(); CalDAVServerSupport GetServerSupport(); + CalDAVCalendarList GetCalendars(); + CalDAVServerResult AddCalendar(string CalendarName); CalDAVServerResult EditCalendar(string *CalendarHREF, @@ -162,10 +165,16 @@ class CalDAV{ int *CalendarOrder); CalDAVServerResult EditCalendarDescription(string *CalendarHREF, string *CalendarDescription); + CalDAVServerResult DeleteCalendar(string *CalendarHREF); + + CalDAVServerResult AddEntry(string *CalendarEntryHREF, string *EntryData); + CalDAVServerResult DeleteEntry(string *CalendarEntryHREF); string GetUserPrincipal(); string GetCalendarHome(string UserPrincipalURI); + + CalDAVServerResult GetEntryETag(string *CalendarEntryHREF, string *ETagValue); };