Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / contacteditor / frmContactEditorOrganisations.h
1 #ifndef __frmContactEditorOrganisations__
2 #define __frmContactEditorOrganisations__
4 /**
5 @file
6 Subclass of frmContactEditorOrganisationsADT, which is generated by wxFormBuilder.
7 */
9 #include <map>
10 #include "../AppXestiaAddrBk.h"
11 #include "../enums.h"
13 //// end generated include
15 /** Implementing frmContactEditorOrganisationsADT */
16 class frmContactEditorOrganisations : public frmContactEditorOrganisationsADT
17 {
18         protected:
19                 // Handlers for frmContactEditorOrganisationsADT events.
20                 void UpdateSortAs( wxCommandEvent& event );
21                 void EnablePriority( wxCommandEvent& event );
22                 void ProcessAction( wxCommandEvent& event );
23                 void CloseWindow( wxCommandEvent& event );
24         public:
25                 /** Constructor */
26                 frmContactEditorOrganisations( wxWindow* parent );
27                 void SetEditorMode(bool EditMode, SectionType SectType);
28                 void SetupPointers(std::map<int, wxString> *OrganisationList,
29                         std::map<int, wxString> *OrganisationListLanguage,
30                         std::map<int, wxString> *OrganisationListSortAs,                        
31                         std::map<int, wxString> *OrganisationListAltID,
32                         std::map<int, wxString> *OrganisationListPID,
33                         std::map<int, wxString> *OrganisationListType,
34                         std::map<int, wxString> *OrganisationListTokens,
35                         std::map<int, int> *OrganisationListPref,
36                         wxListCtrl *OrganisationListCtrl,
37                         int OrganisationIndex );
38         //// end generated class members
39         
40         private:
41         
42                 bool EditorMode;
43                 std::map<int, wxString> *OrganisationListPtr;
44                 std::map<int, wxString> *OrganisationListLanguagePtr;
45                 std::map<int, wxString> *OrganisationListSortAsPtr;             
46                 std::map<int, wxString> *OrganisationListAltIDPtr;
47                 std::map<int, wxString> *OrganisationListPIDPtr;
48                 std::map<int, wxString> *OrganisationListTypePtr;
49                 std::map<int, wxString> *OrganisationListTokensPtr;
50                 std::map<int, int> *OrganisationListPrefPtr;
51                 wxListCtrl *OrganisationListCtrlPtr;
52                 int OrganisationListIndex;
53                 SectionType EditSectionType;
54         
55 };
57 #endif // __frmContactEditorOrganisations__
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