Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / contacteditor / frmContactEditorCategory.h
1 #ifndef __frmContactEditorCategory__
2 #define __frmContactEditorCategory__
4 /**
5 @file
6 Subclass of frmContactEditorCategoryADT, which is generated by wxFormBuilder.
7 */
9 #include <map>
10 #include "../AppXestiaAddrBk.h"
11 #include "../enums.h"
13 //// end generated include
15 /** Implementing frmContactEditorCategoryADT */
16 class frmContactEditorCategory : public frmContactEditorCategoryADT
17 {
18         protected:
19                 // Handlers for frmContactEditorCategoryADT events.
20                 void EnablePriority( wxCommandEvent& event );
21                 void ProcessAction( wxCommandEvent& event );
22                 void CloseWindow( wxCommandEvent& event );
23         public:
24                 /** Constructor */
25                 frmContactEditorCategory( wxWindow* parent );
26                 void SetEditorMode(bool EditMode);              
27                 void SetupPointers(std::map<int, wxString> *CategoryList,
28                         std::map<int, wxString> *CategoryListAltID,
29                         std::map<int, wxString> *CategoryListPID,
30                         std::map<int, wxString> *CategoryListType,
31                         std::map<int, wxString> *CategoryListTokens,
32                         std::map<int, int> *CategoryListPref,
33                         wxListCtrl *CategoryListCtrl,
34                         int CategoryIndex );
35         //// end generated class members
36         
37         private:
38         
39                 bool EditorMode;
40                 std::map<int, wxString> *CategoryListPtr;
41                 std::map<int, wxString> *CategoryListAltIDPtr;
42                 std::map<int, wxString> *CategoryListPIDPtr;
43                 std::map<int, wxString> *CategoryListTypePtr;
44                 std::map<int, wxString> *CategoryListTokensPtr;
45                 std::map<int, int> *CategoryListPrefPtr;
46                 wxListCtrl *CategoryListCtrlPtr;
47                 int CategoryListIndex;
48                 SectionType EditSectionType;
49         
50 };
52 #endif // __frmContactEditorCategory__
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