Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated TEL processing when saving a contact with frmContactEditor
[xestiaab/.git] / source / contacteditor / frmContactEditorGroups.h
1 // frmContactEditorGroups.h - frmContactEditorGroups form headers.\r
2 //\r
3 // (c) 2012-2015 Xestia Software Development.\r
4 //\r
5 // This file is part of Xestia Address Book.\r
6 //\r
7 // Xestia Address Book is free software: you can redistribute it and/or modify\r
8 // it under the terms of the GNU General Public License as published by the\r
9 // Free Software Foundation, version 3 of the license.\r
10 //\r
11 // Xestia Address Book is distributed in the hope that it will be useful,\r
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
14 // GNU General Public License for more details.\r
15 //\r
16 // You should have received a copy of the GNU General Public License along\r
17 // with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>\r
18 \r
19 #ifndef __frmContactEditorGroups__\r
20 #define __frmContactEditorGroups__\r
21 \r
22 #include <map>\r
23 \r
24 /**\r
25 @file\r
26 Subclass of frmContactEditorGroupsADT, which is generated by wxFormBuilder.\r
27 */\r
28 \r
29 #include "../AppXestiaAddrBk.h"\r
30 #include "../frmMain.h"\r
31 \r
32 struct ContactData{\r
33         wxString ContactName;\r
34         wxString ContactUID;\r
35         wxString ContactFilename;\r
36 };\r
37 \r
38 //// end generated include\r
39 \r
40 /** Implementing frmContactEditorGroupsADT */\r
41 class frmContactEditorGroup : public frmContactEditorGroupsADT\r
42 {\r
43         protected:\r
44                 // Handlers for frmContactEditorGroupsADT events.\r
45                 void FetchContacts( wxInitDialogEvent& event );\r
46                 void ProcessData( wxCommandEvent& event );\r
47                 void CloseWindow( wxCommandEvent& event );\r
48         public:\r
49                 /** Constructor */\r
50                 frmContactEditorGroup( wxWindow* parent );\r
51                 void SetEditorMode(bool EditMode, XABViewMode XAVIn);\r
52                 void SetupPointers(std::map<int, wxString> *GroupsList,\r
53                         wxListCtrl *GroupsListCtrl, \r
54                         wxString AccountName, \r
55                         int GroupIndex);\r
56         private:\r
57                 bool EditorMode;\r
58                 std::map<int,wxString> *GroupsListPtr;\r
59                 wxListCtrl *GroupsListCtrlPtr;\r
60                 wxString AccName;\r
61                 std::map<int, ContactData> ContactNamesData;\r
62                 int GroupsListIndex;\r
63                 XABViewMode XVMData;\r
64         //// end generated class members\r
65         \r
66 };\r
67 \r
68 #endif // __frmContactEditorGroups__\r
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