From b811c99c6ef3ab48376de10f5df9c048436a2f31 Mon Sep 17 00:00:00 2001 From: Kiri Date: Sat, 20 Feb 2016 09:48:44 +0000 Subject: [PATCH] Added initial versions of several CalDAV objects. --- source/objects/CalDAV/CalDAV.h | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/source/objects/CalDAV/CalDAV.h b/source/objects/CalDAV/CalDAV.h index 0413429..c4f1a8b 100644 --- a/source/objects/CalDAV/CalDAV.h +++ b/source/objects/CalDAV/CalDAV.h @@ -6,6 +6,47 @@ using namespace std; +// CalDAVConnectionData: used for +// connecting to the server. + +enum CalDAVQueryResult { + CALDAVQUERYRESULT_UNITTESTFAIL = -1, + CALDAVQUERYRESULT_OK +}; + +struct CalDAVConnectionData{ + + string Hostname; + int Port; + string Username; + string Password; + string Prefix; + bool UseSSL; + +}; + +// CalDAVStatusData: used for +// getting the current server +// settings for the CalDAV +// object. + +struct CalDAVStatus{ + + + +}; + +// CalDAVServerResult: used for +// getting the result of the +// request made via the CalDAV +// object. + +struct CalDAVServerResult{ + + + +}; + class CalDAV{ -- 2.39.5