Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
CardDAV2/CDO: Cleaned up headers and included stdexcept
[xestiaab/.git] / source / carddav2 / carddav2.h
index 143b61f..5a1b355 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <string>
 #include <vector>
+#include <stdexcept>
 
 class CardDAV2 : public ConnectionObject {
        
@@ -69,6 +70,9 @@ class CardDAV2 : public ConnectionObject {
                std::string GetErrorMessage();
 
 #if defined(__APPLE__)
+    
+               SecTrustRef BuildSSLCollection();
+    
 #elif defined(__WIN32__)
 
                PCCERT_CONTEXT BuildSSLCollection();
@@ -86,6 +90,7 @@ class CardDAV2 : public ConnectionObject {
                        bool ServerUsingSSL = false;
                        CURL *ConnectionSessionObject = nullptr;
 #if defined(__APPLE__)
+                       SecTrustRef SSLContext = nullptr;
 #elif defined(__WIN32__)
                        PCCERT_CONTEXT SSLContext = nullptr;
 #endif
@@ -125,6 +130,9 @@ class CardDAV2 : public ConnectionObject {
                void ProcessContactData(COContactList *ContactList);
 
 #if defined(__APPLE__)
+
+               SecTrustRef CertificateData = nullptr;
+       
 #elif defined(__WIN32__)
 
                PCCERT_CONTEXT CertificateData = nullptr;
@@ -138,4 +146,4 @@ class CardDAV2 : public ConnectionObject {
 
 };
 
-#endif
\ No newline at end of file
+#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