Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / frmPreferences.h
1 #ifndef __frmPreferences__
2 #define __frmPreferences__
4 /**
5 @file
6 Subclass of frmPreferencesADT, which is generated by wxFormBuilder.
7 */
9 #include "AppXestiaAddrBk.h"
10 #include "common/preferences.h"
12 //// end generated include
14 /** Implementing frmPreferencesADT */
15 class frmPreferences : public frmPreferencesADT
16 {
17         protected:
18                 void LoadPreferences( wxInitDialogEvent& event );
19                 void EnableABButtons( wxListEvent& event );
20                 void DisableABButtons( wxListEvent& event );
21                 void DeleteABAccount( wxCommandEvent& event );
22                 void ModifyABAccount( wxCommandEvent& event );
23                 void SavePreferences( wxCommandEvent &event );
24                 void AddABAccount( wxCommandEvent &event );
25         private:
26                 void ReloadAccounts();
27                 wxImageList *AccImgList =  new wxImageList(16,16,true,wxIMAGE_LIST_SMALL);
28                 int AccountID = 0;
29                 int AccountNetID = 0;
30                 XABPreferences *preferences;
31                 wxString preffilename;
32                 bool FirstLoad = TRUE;
33                 bool *ReloadAccountConfig;
34         public:
35                 /** Constructor */
36                 frmPreferences( wxWindow* parent );
37                 ~frmPreferences();
38                 void SetupPointers( bool *ReloadAccountInc );
39         //// end generated class members
40         
41 };
43 #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