Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added the CalDAVObjectValidSettings subroutine.
[xestiacalendar/.git] / source / objects / CalDAV / CalDAV.h
1 #ifndef __OBJECTS_CALDAV_CALDAV_H__
2 #define __OBJECTS_CALDAV_CALDAV_H__
4 #include <curl/curl.h>
5 #include <string>
7 using namespace std;
9 // CalDAVConnectionData: used for
10 // connecting to the server.
12 enum CalDAVQueryResult {
13         CALDAVQUERYRESULT_UNITTESTFAIL = -1,
14         CALDAVQUERYRESULT_OK
15 };
17 struct CalDAVConnectionData{
18         
19         string Hostname;
20         int Port;
21         string Username;
22         string Password;
23         string Prefix;
24         bool UseSSL;
25         
26 };
28 // CalDAVStatusData: used for
29 // getting the current server
30 // settings for the CalDAV
31 // object.
33 struct CalDAVStatus{
35         string Hostname;
36         int Port;
37         string Username;
38         string Prefix;
39         bool UseSSL;    
41 };
43 // CalDAVServerResult: used for
44 // getting the result of the
45 // request made via the CalDAV
46 // object.
48 struct CalDAVServerResult{
50         
52 };
54 class CalDAV{
56         
57         
58 };
60 // Subroutines that are used with the 
61 // CalDAVConnectionData struct.
63 bool CalDAVObjectValidSettings(CalDAVConnectionData *ConnData);
65 #endif
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