Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added Unit tests for the Colour struct.
[xestiacalendar/.git] / source / objects / CalDAV / CalDAV.h
index a10c468..cbe065a 100644 (file)
 #include <iostream>
 #include <vector>
 #include <stdexcept>
+#include <map>
+#include "../../common/colour.h"
+#include "../../common/text.h"
+#include "../../common/uuid.h"
 
 using namespace std;
 
@@ -40,6 +44,13 @@ enum CalDAVQueryResult {
 };
 
 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;
        
 };
 
@@ -111,7 +122,9 @@ class CalDAV{
        private:
                string ProcessXMLUserPrincipal();
                string ProcessXMLCalendarHome();
+               CalDAVCalendarList ProcessXMLCalendarList();
                bool MatchXMLNameTransverse(xmlNodePtr *NodePtr, string NodeName);
+               bool MatchXMLName(xmlNodePtr *NodePtrOriginal, string NodeName);
                string FetchXMLData(xmlNodePtr *NodePtr);
        
                CalDAVConnectionData ConnectionData;
@@ -129,6 +142,7 @@ class CalDAV{
                CalDAVServerResult GetServerResult();
                CalDAVServerSupport GetServerSupport();
                CalDAVCalendarList GetCalendars();
+               CalDAVServerResult AddCalendar(string CalendarName);
        
                string GetUserPrincipal();
                string GetCalendarHome(string UserPrincipalURI);
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy