// frmEditAccount.h - Edit 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 __frmEditAccount__
#define __frmEditAccount__
/**
@file
Subclass of frmEditAccountADT, which is generated by wxFormBuilder.
*/
#include "AppXestiaAddrBk.h"
#include
#include "frmInvalidSSLCertificate.h"
#include "common/svrblist.h"
#include "carddav2/carddav2.h"
#if defined(__WIN32__)
#include "common/win32ssl.h"
#else
#include "common/sslcertstructs.h"
#endif
//// end generated include
/** Implementing frmEditAccountADT */
class frmEditAccount : public frmEditAccountADT
{
protected:
// Handlers for frmEditAccountADT events.
void DetectAddressBook( wxCommandEvent& event );
void UpdateSettings( wxCommandEvent& event );
void CloseWindow( wxCommandEvent& event );
public:
/** Constructor */
frmEditAccount( wxWindow* parent );
void LoadPointers( wxFileConfig* cfgin );
void LoadSettings( wxString AccNameIn );
bool GetDialogResult();
private:
wxFileConfig *cfgfile;
wxString AccName;
bool DialogResult = false;
#if defined(__APPLE__)
int DisplayTrustPanel(CardDAV *Connection);
#endif
//// end generated class members
};
#endif // __frmEditAccount__