1 // frmContactEditorGroups.h - frmContactEditorGroups form headers.
\r
3 // (c) 2012-2015 Xestia Software Development.
\r
5 // This file is part of Xestia Address Book.
\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
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
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
19 #ifndef __frmContactEditorGroups__
\r
20 #define __frmContactEditorGroups__
\r
26 Subclass of frmContactEditorGroupsADT, which is generated by wxFormBuilder.
\r
29 #include "../AppXestiaAddrBk.h"
\r
30 #include "../frmMain.h"
\r
33 wxString ContactName;
\r
34 wxString ContactUID;
\r
35 wxString ContactFilename;
\r
38 //// end generated include
\r
40 /** Implementing frmContactEditorGroupsADT */
\r
41 class frmContactEditorGroup : public frmContactEditorGroupsADT
\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
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
58 std::map<int,wxString> *GroupsListPtr;
\r
59 wxListCtrl *GroupsListCtrlPtr;
\r
61 std::map<int, ContactData> ContactNamesData;
\r
62 int GroupsListIndex;
\r
63 XABViewMode XVMData;
\r
64 //// end generated class members
\r
68 #endif // __frmContactEditorGroups__
\r