Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
macOS: Implemented support for adding, editing and deleting a CalDAV account
[xestiacalendar/.git] / source / forms / newaccount / frmNewAccount.h
index 3f02e77..c1c75e3 100644 (file)
@@ -33,8 +33,15 @@ Subclass of frmNewAccountADT, which is generated by wxFormBuilder.
 #include "../../libraries/CalendarDataStorage/CalendarDataStorage.h"
 #include "../objects/CalDAV/CalDAV.h"
 
+#include "../invalidsslcertificate/frmInvalidSSLCertificate.h"
+
 #include "svrblist.h"
 #include "dirs.h"
+#include "sslcertstructs.h"
+
+#ifdef __WIN32__
+#include "win32ssl.h"
+#endif
 
 DECLARE_EVENT_TYPE(UPDATERESULTS, wxID_ANY);
 DECLARE_EVENT_TYPE(RUNCALDAVTEST, wxID_ANY);
@@ -58,6 +65,7 @@ class frmNewAccount : public frmNewAccountADT
                        bool CanProcess = false;
                        std::string ErrorMessage = "";
                };
+               bool VerifyResultData(NewAccountResult *resultData);
        protected:
                // Handlers for frmNewAccountADT events.
                void UpdateRequirements( wxCommandEvent &event );
@@ -68,8 +76,8 @@ class frmNewAccount : public frmNewAccountADT
                void CloseWindow( wxCommandEvent& event );
                void WriteAccountDetails( wxFileConfig *cfgFileIn, wxString accountType, wxString directoryName );
 #if defined(__APPLE__)
-               int DisplayTrustPanel(ConnectionObject *Connection);
-               SecTrustResultType ProcessResultType(ConnectionObject *Connection);
+               int DisplayTrustPanel(CalDAV *Connection);
+               SecTrustResultType ProcessResultType(CalDAV *Connection);
 #endif
        public:
                /** Constructor */
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