X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmNewAccount.h;h=5261f781be38cd96d0c38408dda94858211fcef5;hb=a73019906500e3a0fc306a61e4b7975f79725866;hp=a94ee7c92aa09a0c9affe0aa0cab64e83fe5db31;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/frmNewAccount.h b/source/frmNewAccount.h index a94ee7c..5261f78 100644 --- a/source/frmNewAccount.h +++ b/source/frmNewAccount.h @@ -1,34 +1,54 @@ +// 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__ /** -@file -Subclass of frmNewAccountADT, which is generated by wxFormBuilder. -*/ + @file + Subclass of frmNewAccountADT, which is generated by wxFormBuilder. + */ #include "AppXestiaAddrBk.h" +#include //// end generated include /** Implementing frmNewAccountADT */ 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 ); - public: - /** Constructor */ - frmNewAccount( wxWindow* parent ); - void SetupPointers(bool *ReloadAccountInc); - //// end generated class members - private: - int PageSeek = 0; - wxString ServerPrefix; - bool ReloadAccountConfig = FALSE; +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 ); +public: + /** Constructor */ + frmNewAccount( wxWindow* parent ); + void SetupPointers(bool *ReloadAccountInc); + //// end generated class members +private: + int PageSeek = 0; + wxString ServerPrefix; + bool ReloadAccountConfig = FALSE; }; #endif // __frmNewAccount__