1 // frmEditAccount.h - Edit Account form header.
3 // (c) 2012-2015 Xestia Software Development.
5 // This file is part of Xestia Address Book.
7 // Xestia Address Book is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
11 // Xestia Address Book is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __frmEditAccount__
20 #define __frmEditAccount__
24 Subclass of frmEditAccountADT, which is generated by wxFormBuilder.
27 #include "AppXestiaAddrBk.h"
28 #include <wx/fileconf.h>
29 #include "frmInvalidSSLCertificate.h"
30 #include "common/svrblist.h"
31 #include "carddav/carddav.h"
33 #if defined(__WIN32__)
34 #include "common/win32ssl.h"
37 //// end generated include
39 /** Implementing frmEditAccountADT */
40 class frmEditAccount : public frmEditAccountADT
43 // Handlers for frmEditAccountADT events.
44 void DetectAddressBook( wxCommandEvent& event );
45 void UpdateSettings( wxCommandEvent& event );
46 void CloseWindow( wxCommandEvent& event );
49 frmEditAccount( wxWindow* parent );
50 void LoadPointers( wxFileConfig* cfgin );
51 void LoadSettings( wxString AccNameIn );
52 bool GetDialogResult();
54 wxFileConfig *cfgfile;
56 bool DialogResult = false;
57 #if defined(__APPLE__)
58 int DisplayTrustPanel(CardDAV *Connection);
60 //// end generated class members
64 #endif // __frmEditAccount__