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 to the ListCalendars CalDAV object tests.
[xestiacalendar/.git]
/
source
/
objects
/
CalDAV
/
CalDAV.h
diff --git
a/source/objects/CalDAV/CalDAV.h
b/source/objects/CalDAV/CalDAV.h
index
7e87cf6
..
da3b58c
100644
(file)
--- a/
source/objects/CalDAV/CalDAV.h
+++ b/
source/objects/CalDAV/CalDAV.h
@@
-39,6
+39,10
@@
enum CalDAVQueryResult {
CALDAVQUERYRESULT_SERVERERROR
};
CALDAVQUERYRESULT_SERVERERROR
};
+struct CalDAVCalendarList {
+
+};
+
struct CalDAVConnectionData{
string Hostname = "";
struct CalDAVConnectionData{
string Hostname = "";
@@
-92,21
+96,40
@@
struct CalDAVServerResult{
};
};
+// CalDAVSendData: used for
+// sending data to the CaLDAV
+// server.
+
+struct CalDAVSendData{
+ string *readptr;
+ long sizeleft;
+ int seek = 0;
+};
+
class CalDAV{
private:
class CalDAV{
private:
+ string ProcessXMLUserPrincipal();
+ bool MatchXMLName(xmlNodePtr *NodePtr, string NodeName);
+ string FetchXMLData(xmlNodePtr *NodePtr);
+
CalDAVConnectionData ConnectionData;
CalDAVConnectionData ConnectionData;
+ CalDAVServerResult ConnectionServerResult;
CURL *ConnectionHandle = nullptr;
string ServerData = "";
string ServerHeader = "";
public:
CURL *ConnectionHandle = nullptr;
string ServerData = "";
string ServerHeader = "";
public:
+ CalDAV();
+ ~CalDAV();
void SetupConnectionData(CalDAVConnectionData *ConnData);
CalDAVStatus GetConnectionData();
CalDAVServerResult Connect();
void SetupConnectionData(CalDAVConnectionData *ConnData);
CalDAVStatus GetConnectionData();
CalDAVServerResult Connect();
+ CalDAVServerResult GetServerResult();
CalDAVServerSupport GetServerSupport();
CalDAVServerSupport GetServerSupport();
- CalDAV();
- ~CalDAV();
+ CalDAVCalendarList GetCalendars();
+
+ string GetUserPrincipal();
};
};
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy