Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Ensure fetching and storage of SSL certificates on Linux.
[xestiaab/.git] / source / actmgr / frmActivityMgr.h
index 493bdd1..fec4778 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"
@@ -33,6 +38,11 @@ Subclass of frmActivityMgrADT, which is generated by wxFormBuilder.
 #include "../common/etag.h"
 #include "../common/dirs.h"
 #include "../common/preferences.h"
+#include "../common/sslcertstructs.h"
+
+#if defined(__WIN32__)
+#include "../common/win32ssl.h"
+#endif
 
 //// end generated include
 
@@ -55,6 +65,15 @@ struct ActivityMgrLabelUpdate{
        wxString ItemDes;
 };
 
+#if defined(__APPLE__)
+struct SSLInvalidTrustNotifObj{
+        SecTrustRef SecurityTrustObject;
+        int *ResultValue;
+        bool *PausePtr;
+        wxString AccountName;
+};
+#endif
+
 struct ActivityMgrAccountSettings{
        wxString Address;
        int Port;
@@ -81,6 +100,8 @@ class frmActivityMgr : public frmActivityMgrADT
                std::map<int,int> ActivityListType;
                std::map<int,long> ActivityListIndex;
                std::map<int,wxString> ActivityListData;
+               std::map<int,wxString> ActivityListURL;
+               std::map<int,bool> ActivityListEditMode;
                std::map<int,wxString> ActivityListTaskDetail;
                std::map<int,wxString> ActivityListAccount;
                std::map<int,wxString> ActivityListFilename;
@@ -98,6 +119,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