1 #ifndef __frmPreferences__
2 #define __frmPreferences__
6 Subclass of frmPreferencesADT, which is generated by wxFormBuilder.
10 #include <wx/mstream.h>
11 #include <wx/dialog.h>
12 #include <wx/msgdlg.h>
13 #include <wx/fileconf.h>
15 #include "../../AppXestiaCalendar.h"
16 #include "../../bitmaps.h"
17 #include "../main/frmMain.h"
18 #include "../editaccount/frmEditAccount.h"
20 #include "preferences.h"
23 //// end generated include
25 /** Implementing frmPreferencesADT */
26 class frmPreferences : public frmPreferencesADT
29 void ReloadAccounts();
30 wxImageList *AccImgList = new wxImageList(16,16,true,wxIMAGE_LIST_SMALL);
33 int AccountUnsupportedID = 0;
34 XCALPreferences *preferences;
35 wxString preffilename;
36 bool FirstLoad = TRUE;
37 bool *ReloadAccountConfig;
39 // Handlers for frmPreferencesADT events.
40 void LoadPreferences( wxInitDialogEvent& event );
41 void DisableButtons( wxListEvent& event );
42 void EnableButtons( wxListEvent& event );
43 void AddAccount( wxCommandEvent& event );
44 void ModifyAccount( wxCommandEvent& event );
45 void DeleteAccount( wxCommandEvent& event );
46 void SavePreferences( wxCommandEvent& event );
47 void CloseWindow( wxCommandEvent& event );
50 frmPreferences( wxWindow* parent );
52 void SetupPointers( bool *ReloadAccountInc );
53 //// end generated class members
57 #endif // __frmPreferences__