Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Unit tests for the Colour struct.
[xestiacalendar/.git]
/
source
/
objects
/
CalDAV
/
CalDAV.h
diff --git
a/source/objects/CalDAV/CalDAV.h
b/source/objects/CalDAV/CalDAV.h
index
fd7095a
..
cbe065a
100644
(file)
--- a/
source/objects/CalDAV/CalDAV.h
+++ b/
source/objects/CalDAV/CalDAV.h
@@
-26,6
+26,10
@@
#include <iostream>
#include <vector>
#include <stdexcept>
#include <iostream>
#include <vector>
#include <stdexcept>
+#include <map>
+#include "../../common/colour.h"
+#include "../../common/text.h"
+#include "../../common/uuid.h"
using namespace std;
using namespace std;
@@
-40,6
+44,13
@@
enum CalDAVQueryResult {
};
struct CalDAVCalendarList {
};
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();
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;
string FetchXMLData(xmlNodePtr *NodePtr);
CalDAVConnectionData ConnectionData;
@@
-129,6
+142,7
@@
class CalDAV{
CalDAVServerResult GetServerResult();
CalDAVServerSupport GetServerSupport();
CalDAVCalendarList GetCalendars();
CalDAVServerResult GetServerResult();
CalDAVServerSupport GetServerSupport();
CalDAVCalendarList GetCalendars();
+ CalDAVServerResult AddCalendar(string CalendarName);
string GetUserPrincipal();
string GetCalendarHome(string UserPrincipalURI);
string GetUserPrincipal();
string GetCalendarHome(string UserPrincipalURI);
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy