1 // frmContactEditorKey.h - frmContactEditorKey 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 __frmContactEditorKey__
20 #define __frmContactEditorKey__
24 Subclass of frmContactEditorKeyADT, which is generated by wxFormBuilder.
28 #include "../AppXestiaAddrBk.h"
31 //// end generated include
33 /** Implementing frmContactEditorKeyADT */
34 class frmContactEditorKey : public frmContactEditorKeyADT
37 // Handlers for frmContactEditorKeyADT events.
38 void EnablePriority( wxCommandEvent& event );
39 void ProcessAction( wxCommandEvent& event );
40 void CloseWindow( wxCommandEvent& event );
41 void ProcessKeyType( wxCommandEvent& event );
42 void ProcessKeyType();
43 void ConvertURLType( wxCommandEvent& event );
44 void ConvertKeyType( wxCommandEvent& event );
47 frmContactEditorKey( wxWindow* parent );
48 void SetEditorMode(bool EditMode);
49 void SetupPointers(std::map<int, wxString> *KeyList,
50 std::map<int, wxString> *KeyListAltID,
51 std::map<int, wxString> *KeyListPID,
52 std::map<int, bool> *KeyListKeyType,
53 std::map<int, wxString> *KeyListDataType,
54 std::map<int, wxString> *KeyListType,
55 std::map<int, wxString> *KeyListTokens,
56 std::map<int, int> *KeyListPref,
57 wxListCtrl *KeyListCtrl,
59 //// end generated class members
62 std::map<int, wxString> *KeyListPtr;
63 std::map<int, wxString> *KeyListAltIDPtr;
64 std::map<int, wxString> *KeyListPIDPtr;
65 std::map<int, bool> *KeyListKeyTypePtr;
66 std::map<int, wxString> *KeyListDataTypePtr;
67 std::map<int, wxString> *KeyListTypePtr;
68 std::map<int, wxString> *KeyListTokensPtr;
69 std::map<int, int> *KeyListPrefPtr;
70 wxListCtrl *KeyListCtrlPtr;
72 SectionType EditSectionType;
76 #endif // __frmContactEditorKey__