X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmNewAccount.h;h=d6f08537ff7518bce41325ccc04c78a3903659a6;hb=991421c482ccf613e2857423d6ffe2e95a0041fb;hp=e48836422bcd4fd35b3ae010161488163692d031;hpb=6b484d5eec9ae5167ade4ba04c77191e79a0db3c;p=xestiaab%2F.git diff --git a/source/frmNewAccount.h b/source/frmNewAccount.h index e488364..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 = NULL; + int PageSeek = 0; + wxString ServerPrefix; + bool *ReloadAccountConfig = NULL; + void SetErrorMessageLabel(); }; #endif // __frmNewAccount__