Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Inserted copyright and license header for CalDAV.cpp & CalDAV.h
[xestiacalendar/.git] / source / objects / CalDAV / CalDAV.h
1 // CalDAV.h - CalDAV Connection Object header.
2 //
3 // (c) 2016 Xestia Software Development.
4 //
5 // This file is part of Xestia Calendar.
6 //
7 // Xestia Address Book is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
10 //
11 // Xestia Address Book is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __OBJECTS_CALDAV_CALDAV_H__
20 #define __OBJECTS_CALDAV_CALDAV_H__
22 #include <curl/curl.h>
23 #include <string>
25 using namespace std;
27 // CalDAVConnectionData: used for
28 // connecting to the server.
30 enum CalDAVQueryResult {
31         CALDAVQUERYRESULT_UNITTESTFAIL = -1,
32         CALDAVQUERYRESULT_OK
33 };
35 struct CalDAVConnectionData{
36         
37         string Hostname;
38         int Port;
39         string Username;
40         string Password;
41         string Prefix;
42         bool UseSSL;
43         
44 };
46 // CalDAVStatusData: used for
47 // getting the current server
48 // settings for the CalDAV
49 // object.
51 struct CalDAVStatus{
53         string Hostname;
54         int Port;
55         string Username;
56         string Prefix;
57         bool UseSSL;    
59 };
61 // CalDAVServerResult: used for
62 // getting the result of the
63 // request made via the CalDAV
64 // object.
66 struct CalDAVServerResult{
68         
70 };
72 class CalDAV{
74         
75         
76 };
78 // Subroutines that are used with the 
79 // CalDAVConnectionData struct.
81 bool CalDAVObjectValidSettings(CalDAVConnectionData *ConnData);
83 #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