X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fconnobject%2FConnectionObject.h;h=e813aae7a8e2436a31830b930fb74506756e7051;hb=176323555ae58da5fec1ac843e0c613a0b9dabba;hp=d2ccf5c5231ec6e1f30e1ded4841c9d0754174e4;hpb=547ab1fe605cdb4884179ab011dabba4d0bd7bc2;p=xestiaab%2F.git diff --git a/source/connobject/ConnectionObject.h b/source/connobject/ConnectionObject.h index d2ccf5c..e813aae 100644 --- a/source/connobject/ConnectionObject.h +++ b/source/connobject/ConnectionObject.h @@ -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. // @@ -24,6 +24,11 @@ #include #include "../common/sslcertstructs.h" +#if defined (__APPLE__) +#import +#import +#endif + #if defined (__WIN32__) #include #include @@ -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