*/
#include "AppXestiaAddrBk.h"
+#include "carddav/carddav.h"
#include <wx/fileconf.h>
//// end generated include
class frmNewAccount : public frmNewAccountADT
{
protected:
- // Handlers for frmNewAccountADT events.
- void CheckAccountName( wxCommandEvent& event );
- void ProcessPrevious( wxCommandEvent& event );
- void ProcessNext( wxCommandEvent& event );
- void CloseWindow( wxCommandEvent& event );
- void UpdateRequirements( wxCommandEvent& event );
- void WriteAccountDetails( wxFileConfig *cfgfilein, wxString AccountType, wxString DirectoryName );
+ // Handlers for frmNewAccountADT events.
+ void CheckAccountName( wxCommandEvent& event );
+ void ProcessPrevious( wxCommandEvent& event );
+ void ProcessNext( wxCommandEvent& event );
+ void CloseWindow( wxCommandEvent& event );
+ void UpdateRequirements( wxCommandEvent& event );
+ void WriteAccountDetails( wxFileConfig *cfgfilein, wxString AccountType, wxString DirectoryName );
+#if defined(__APPLE__)
+ int DisplayTrustPanel(CardDAV *Connection);
+ SecTrustResultType ProcessResultType(CardDAV *Connection);
+#endif
public:
- /** Constructor */
- frmNewAccount( wxWindow* parent );
- void SetupPointers(bool *ReloadAccountInc);
- //// end generated class members
+ /** Constructor */
+ frmNewAccount( wxWindow* parent );
+ void SetupPointers(bool *ReloadAccountInc);
+ //// end generated class members
private:
- int PageSeek = 0;
- wxString ServerPrefix;
- bool *ReloadAccountConfig = NULL;
+ int PageSeek = 0;
+ wxString ServerPrefix;
+ bool *ReloadAccountConfig = NULL;
+ void SetErrorMessageLabel();
};
#endif // __frmNewAccount__