Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / contacteditor / frmContactEditorRelated.h
1 #ifndef __frmContactEditorRelated__
2 #define __frmContactEditorRelated__
4 /**
5 @file
6 Subclass of frmContactEditorRelatedADT, which is generated by wxFormBuilder.
7 */
9 #include "../AppXestiaAddrBk.h"
10 #include "../enums.h"
11 #include <map>
13 //// end generated include
15 /** Implementing frmContactEditorRelatedADT */
16 class frmContactEditorRelated : public frmContactEditorRelatedADT
17 {
18         protected:
19                 // Handlers for frmContactEditorRelatedADT events.
20                 void EnablePriority( wxCommandEvent& event );
21                 void ProcessData( wxCommandEvent& event );
22                 void CloseWindow( wxCommandEvent& event );
23         public:
24                 /** Constructor */
25                 frmContactEditorRelated( wxWindow* parent );
26                 void SetEditorMode(bool EditMode, SectionType SectType);                
27                 void SetupPointers(std::map<int, wxString> *RelatedList,
28                         std::map<int, wxString> *RelatedListRelType,
29                         std::map<int, wxString> *RelatedListAltID,
30                         std::map<int, wxString> *RelatedListPID,
31                         std::map<int, wxString> *RelatedListType,
32                         std::map<int, wxString> *RelatedListTokens,             
33                         std::map<int, int> *RelatedListPref,
34                         wxListCtrl *RelatedListCtrl,
35                         int RelatedIndex );
36         //// end generated class members
37         
38         private:
39         
40                 bool EditorMode;
41                 std::map<int, wxString> *RelatedListPtr;
42                 std::map<int, wxString> *RelatedListRelTypePtr;
43                 std::map<int, wxString> *RelatedListAltIDPtr;
44                 std::map<int, wxString> *RelatedListPIDPtr;
45                 std::map<int, wxString> *RelatedListTypePtr;
46                 std::map<int, wxString> *RelatedListTokensPtr;          
47                 std::map<int, int> *RelatedListPrefPtr;
48                 wxListCtrl *RelatedListCtrlPtr;
49                 int RelatedListIndex;
50                 SectionType EditSectionType;
51         
52 };
54 #endif // __frmContactEditorRelated__
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