Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added initial OS X support for frmActivityMgr.h
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 9 Apr 2016 07:44:55 +0000 (08:44 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 9 Apr 2016 07:44:55 +0000 (08:44 +0100)
source/actmgr/frmActivityMgr.h

index 71b8515..45f56fb 100644 (file)
@@ -26,6 +26,11 @@ Subclass of frmActivityMgrADT, which is generated by wxFormBuilder.
 
 #include <map>
 #include <wx/timer.h>
+#if defined(__APPLE__)
+#import <Foundation/Foundation.h>
+#import <SecurityInterface/SFCertificateTrustPanel.h>
+#include "../frmMain.h"
+#endif
 
 #include "../AppXestiaAddrBk.h"
 #include "../carddav/carddav.h"
@@ -55,6 +60,15 @@ struct ActivityMgrLabelUpdate{
        wxString ItemDes;
 };
 
+#if defined(__APPLE__)
+struct SSLInvalidTrustNotifObj{
+        SecTrustRef SecurityTrustObject;
+        int *ResultValue;
+        bool *PausePtr;
+        wxString AccountName;
+};
+#endif
+
 /** Implementing frmActivityMgrADT */
 class frmActivityMgr : public frmActivityMgrADT
 {
@@ -87,6 +101,9 @@ class frmActivityMgr : public frmActivityMgrADT
                //int ConflictResult = 0;
                wxETagProcessTimer *ETagTmrPtr;
                void *frmMainPtr;
+#if defined(__APPLE__)
+                int DisplayTrustPanel(SecTrustRef SecurityTrustObject, wxString AccountNameFriendly);
+#endif
                //frmMain *frmMainPtr;
        protected:
                // Handlers for frmActivityMgrADT events.
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