X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmNewAccount.h;h=d6f08537ff7518bce41325ccc04c78a3903659a6;hb=bc023624d8a7053b2bda8ce10417fabb4757cfd5;hp=5261f781be38cd96d0c38408dda94858211fcef5;hpb=a73019906500e3a0fc306a61e4b7975f79725866;p=xestiaab%2F.git diff --git a/source/frmNewAccount.h b/source/frmNewAccount.h index 5261f78..d6f0853 100644 --- a/source/frmNewAccount.h +++ b/source/frmNewAccount.h @@ -25,6 +25,7 @@ */ #include "AppXestiaAddrBk.h" +#include "carddav/carddav.h" #include //// end generated include @@ -33,22 +34,27 @@ 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 = FALSE; + int PageSeek = 0; + wxString ServerPrefix; + bool *ReloadAccountConfig = NULL; + void SetErrorMessageLabel(); }; #endif // __frmNewAccount__