#include <map>
#include "../../common/colour.h"
#include "../../common/text.h"
+#include "../../common/uuid.h"
using namespace std;
string ProcessXMLUserPrincipal();
string ProcessXMLCalendarHome();
CalDAVCalendarList ProcessXMLCalendarList();
+ string ProcessXMLEntryETag();
bool MatchXMLNameTransverse(xmlNodePtr *NodePtr, string NodeName);
bool MatchXMLName(xmlNodePtr *NodePtrOriginal, string NodeName);
string FetchXMLData(xmlNodePtr *NodePtr);
+ CalDAVServerResult EditCalendarProcess(string *CalendarHREF,
+ string *CalendarName,
+ Colour *CalendarColour,
+ string *CalendarDescription,
+ int *CalendarOrder);
CalDAVConnectionData ConnectionData;
CalDAVServerResult ConnectionServerResult;
CalDAVServerSupport GetServerSupport();
CalDAVCalendarList GetCalendars();
+ CalDAVServerResult AddCalendar(string CalendarName);
+
+ CalDAVServerResult EditCalendar(string *CalendarHREF,
+ string *CalendarName,
+ Colour *CalendarColour,
+ string *CalendarDescription,
+ int *CalendarOrder);
+ CalDAVServerResult EditCalendar(string *CalendarHREF,
+ Colour *CalendarColour);
+ CalDAVServerResult EditCalendar(string *CalendarHREF,
+ string *CalendarName);
+ CalDAVServerResult EditCalendar(string *CalendarHREF,
+ 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);
};