X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=sidebyside;f=source%2FfrmNewAccount.h;h=d6f08537ff7518bce41325ccc04c78a3903659a6;hb=072c524faf30f84a30bf0fd40b2580d199967e74;hp=480ef8fda553fff46463972308a8e344643314dc;hpb=4df7ad411323551899262cad3a5ef0e86f27e2a1;p=xestiaab%2F.git
diff --git a/source/frmNewAccount.h b/source/frmNewAccount.h
index 480ef8f..d6f0853 100644
--- a/source/frmNewAccount.h
+++ b/source/frmNewAccount.h
@@ -1,3 +1,21 @@
+// frmNewAccount.h - New Account form header.
+//
+// (c) 2012-2015 Xestia Software Development.
+//
+// This file is part of Xestia Address Book.
+//
+// Xestia Address Book is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Address Book is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Address Book. If not, see
+
#ifndef __frmNewAccount__
#define __frmNewAccount__
@@ -7,6 +25,7 @@
*/
#include "AppXestiaAddrBk.h"
+#include "carddav/carddav.h"
#include
//// end generated include
@@ -15,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__