1 // frmContactEditorAddress.h - frmContactEditorAddress form header.
3 // (c) 2012-2015 Xestia Software Development.
5 // This file is part of Xestia Address Book.
7 // Xestia Address Book is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
11 // Xestia Address Book is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __frmContactEditorAddress__
20 #define __frmContactEditorAddress__
26 Subclass of frmContactEditorAddressADT, which is generated by wxFormBuilder.
29 #include "../AppXestiaAddrBk.h"
31 //// end generated include
35 /** Implementing frmContactEditorAddressADT */
36 class frmContactEditorAddress : public frmContactEditorAddressADT
39 // Handlers for frmContactEditorAddressADT events.
40 void InitAddressEditor( wxInitDialogEvent& event );
41 void EnablePriority( wxCommandEvent& event );
42 void ProcessData( wxCommandEvent& event );
43 void CopyAddress( wxCommandEvent& event );
44 void CloseWindow( wxCommandEvent& event );
47 frmContactEditorAddress( wxWindow* parent );
48 void SetEditorMode(bool EditMode, SectionType SectType);
49 void SetupPointers( std::map<int, wxString> *AddressList,
50 std::map<int, wxString> *AddressListTown,
51 std::map<int, wxString> *AddressListCounty,
52 std::map<int, wxString> *AddressListPostCode,
53 std::map<int, wxString> *AddressListCountry,
54 std::map<int, wxString> *AddressListLabel,
55 std::map<int, wxString> *AddressListLang,
56 std::map<int, wxString> *AddressListAltID,
57 std::map<int, wxString> *AddressListPID,
58 std::map<int, wxString> *AddressListTokens,
59 std::map<int, wxString> *AddressListGeo,
60 std::map<int, wxString> *AddressListTimezone,
61 std::map<int, wxString> *AddressListType,
62 std::map<int, wxString> *AddressListMediatype,
63 std::map<int, int> *AddressListPref,
64 wxListCtrl *AddressListCtrl,
69 std::map<int, wxString> *AddressListPtr;
70 std::map<int, wxString> *AddressListTownPtr;
71 std::map<int, wxString> *AddressListCountyPtr;
72 std::map<int, wxString> *AddressListPostCodePtr;
73 std::map<int, wxString> *AddressListCountryPtr;
74 std::map<int, wxString> *AddressListLabelPtr;
75 std::map<int, wxString> *AddressListLangPtr;
76 std::map<int, wxString> *AddressListAltIDPtr;
77 std::map<int, wxString> *AddressListPIDPtr;
78 std::map<int, wxString> *AddressListTokensPtr;
79 std::map<int, wxString> *AddressListGeoPtr;
80 std::map<int, wxString> *AddressListTimezonePtr;
81 std::map<int, wxString> *AddressListTypePtr;
82 std::map<int, wxString> *AddressListMediatypePtr;
83 std::map<int, int> *AddressListPrefPtr;
84 wxListCtrl *AddressListCtrlPtr;
86 SectionType EditSectionType;
87 //// end generated class members
91 #endif // __frmContactEditorAddress__