From 4bf3e76fa05aad77c1cd5673dd87a551dbffc718 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 9 Apr 2016 08:44:55 +0100 Subject: [PATCH] Added initial OS X support for frmActivityMgr.h --- source/actmgr/frmActivityMgr.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/actmgr/frmActivityMgr.h b/source/actmgr/frmActivityMgr.h index 71b8515..45f56fb 100644 --- a/source/actmgr/frmActivityMgr.h +++ b/source/actmgr/frmActivityMgr.h @@ -26,6 +26,11 @@ Subclass of frmActivityMgrADT, which is generated by wxFormBuilder. #include #include +#if defined(__APPLE__) +#import +#import +#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. -- 2.39.5