#ifndef __frmPreferences__ #define __frmPreferences__ /** @file Subclass of frmPreferencesADT, which is generated by wxFormBuilder. */ #include "AppXestiaAddrBk.h" #include "common/preferences.h" //// end generated include /** Implementing frmPreferencesADT */ class frmPreferences : public frmPreferencesADT { protected: void LoadPreferences( wxInitDialogEvent& event ); void EnableABButtons( wxListEvent& event ); void DisableABButtons( wxListEvent& event ); void DeleteABAccount( wxCommandEvent& event ); void ModifyABAccount( wxCommandEvent& event ); void SavePreferences( wxCommandEvent &event ); void AddABAccount( wxCommandEvent &event ); private: void ReloadAccounts(); wxImageList *AccImgList = new wxImageList(16,16,true,wxIMAGE_LIST_SMALL); int AccountID = 0; int AccountNetID = 0; XABPreferences *preferences; wxString preffilename; bool FirstLoad = TRUE; bool *ReloadAccountConfig; public: /** Constructor */ frmPreferences( wxWindow* parent ); ~frmPreferences(); void SetupPointers( bool *ReloadAccountInc ); //// end generated class members }; #endif // __frmPreferences__