// frmContactEditorEmail.h - frmContactEditorEmail form headers. // // (c) 2012-2015 Xestia Software Development. // // This file is part of Xestia Address Book. // // Xestia Address Book is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the // Free Software Foundation, version 3 of the license. // // Xestia Address Book is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along // with Xestia Address Book. If not, see #ifndef __frmContactEditorEmail__ #define __frmContactEditorEmail__ #include /** @file Subclass of frmContactEditorEmailADT, which is generated by wxFormBuilder. */ #include "../AppXestiaAddrBk.h" //// end generated include #include "../enums.h" #include "../widgets/XABPriorityCtrl.h" /** Implementing frmContactEditorEmailADT */ class frmContactEditorEmail : public frmContactEditorEmailADT { protected: // Handlers for frmContactEditorEmailADT events. void ProcessData( wxCommandEvent& event ); void CloseWindow( wxCommandEvent& event ); public: /** Constructor */ frmContactEditorEmail( wxWindow* parent ); void SetEditorMode(bool EditMode, SectionType SectType); void SetupPointers(std::map *EmailList, std::map *EmailListAltID, std::map *EmailListPID, std::map *EmailListType, std::map *EmailListTokens, std::map *EmailListPref, wxListCtrl *EmailListCtrl, int EmailIndex ); private: bool EditorMode; std::map *EmailListPtr; std::map *EmailListAltIDPtr; std::map *EmailListPIDPtr; std::map *EmailListTypePtr; std::map *EmailListTokensPtr; std::map *EmailListPrefPtr; wxListCtrl *EmailListCtrlPtr; int EmailListIndex; SectionType EditSectionType; XABPriorityCtrl *priorityCtrl = nullptr; //// end generated class members }; #endif // __frmContactEditorEmail__