Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
forms: Forms updated
[xestiacalendar/.git] / source / forms / preferences / frmPreferences.h
1 #ifndef __frmPreferences__
2 #define __frmPreferences__
4 /**
5 @file
6 Subclass of frmPreferencesADT, which is generated by wxFormBuilder.
7 */
9 #include <wx/wx.h>
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"
21 #include "dirs.h"
23 //// end generated include
25 /** Implementing frmPreferencesADT */
26 class frmPreferences : public frmPreferencesADT
27 {
28         private:
29                 void ReloadAccounts();
30                 wxImageList *AccImgList =  new wxImageList(16,16,true,wxIMAGE_LIST_SMALL);
31                 int AccountID = 0;
32                 int AccountNetID = 0;
33                 int AccountUnsupportedID = 0;
34                 XCALPreferences *preferences;
35                 wxString preffilename;
36                 bool FirstLoad = TRUE;
37                 bool *ReloadAccountConfig;
38         protected:
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 );
48         public:
49                 /** Constructor */
50                 frmPreferences( wxWindow* parent );
51                 ~frmPreferences();
52                 void SetupPointers( bool *ReloadAccountInc );
53         //// end generated class members
54         
55 };
57 #endif // __frmPreferences__
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy