Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
ConnectionObject: Removed commented out code.
[xestiaab/.git] / source / connobject / ConnectionObject.h
index d2ccf5c..e813aae 100644 (file)
@@ -1,6 +1,6 @@
 // ConnectionObject.h - ConnectionObject interface header file.
 //
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
 //
 // This file is part of Xestia Address Book.
 //
 #include <iostream>
 #include "../common/sslcertstructs.h"
 
+#if defined (__APPLE__)
+#import <Foundation/Foundation.h>
+#import <SecurityInterface/SFCertificateTrustPanel.h>
+#endif
+
 #if defined (__WIN32__)
 #include <Windows.h>
 #include <basetsd.h>
@@ -90,8 +95,6 @@ struct COContactList {
 class ConnectionObject{
        
        public:
-               //ConnectionObject(std::string ServerAddress, int ServerPort, std::string ServerUser, std::string ServerPass, bool ServerSSL);
-               //ConnectionObject(std::string ServerAddress, int ServerPort, std::string ServerUser, std::string ServerPass, bool ServerSSL, std::string ServerPrefix, std::string ServerAccount);
 
                // Virtual functions to be setup by the inheriting classes.
        
@@ -121,6 +124,9 @@ class ConnectionObject{
                // OS specific functions.
                
 #if defined(__APPLE__)
+    
+               virtual SecTrustRef BuildSSLCollection() { return nullptr; };
+    
 #elif defined(__WIN32__)
 
                virtual PCCERT_CONTEXT BuildSSLCollection() { return nullptr; };
@@ -160,4 +166,4 @@ class 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