#include <iostream>
#include <vector>
#include <stdexcept>
+#include <map>
+#include "../../common/colour.h"
+#include "../../common/text.h"
+#include "../../common/uuid.h"
using namespace std;
};
struct CalDAVCalendarList {
+
+ map<int,string> Name;
+ map<int,string> HREF;
+ map<int,int> Order;
+ map<int,string> Description;
+ map<int,Colour> CalColour;
+ map<int,string> Tag;
};
private:
string ProcessXMLUserPrincipal();
string ProcessXMLCalendarHome();
- bool MatchXMLName(xmlNodePtr *NodePtr, string NodeName);
+ CalDAVCalendarList ProcessXMLCalendarList();
+ bool MatchXMLNameTransverse(xmlNodePtr *NodePtr, string NodeName);
+ bool MatchXMLName(xmlNodePtr *NodePtrOriginal, string NodeName);
string FetchXMLData(xmlNodePtr *NodePtr);
CalDAVConnectionData ConnectionData;
CalDAVServerResult GetServerResult();
CalDAVServerSupport GetServerSupport();
CalDAVCalendarList GetCalendars();
+ CalDAVServerResult AddCalendar(string CalendarName);
string GetUserPrincipal();
+ string GetCalendarHome(string UserPrincipalURI);
};