// frmContactEditorIM.h - frmContactEditorIM 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 __frmContactEditorIM__ #define __frmContactEditorIM__ /** @file Subclass of frmContactEditorIMADT, which is generated by wxFormBuilder. */ #include #include "../AppXestiaAddrBk.h" #include "../enums.h" #include "../widgets/XABPriorityCtrl.h" //// end generated include /** Implementing frmContactEditorIMADT */ class frmContactEditorIM : public frmContactEditorIMADT { protected: // Handlers for frmContactEditorIMADT events. void ProcessAction( wxCommandEvent& event ); void CloseWindow( wxCommandEvent& event ); public: /** Constructor */ frmContactEditorIM( wxWindow* parent ); void SetEditorMode(bool EditMode, SectionType SectType); void SetupPointers( std::map *IMList, std::map *IMListAltID, std::map *IMListPID, std::map *IMListType, std::map *IMListTypeInfo, std::map *IMListTokens, std::map *IMListMediatype, std::map *IMListPref, wxListCtrl *AddressListCtrl, int AddressIndex ); //// end generated class members private: bool EditorMode; std::map *IMListPtr; std::map *IMListAltIDPtr; std::map *IMListPIDPtr; std::map *IMListTypePtr; std::map *IMListTypeInfoPtr; std::map *IMListTokensPtr; std::map *IMListMediatypePtr; std::map *IMListPrefPtr; wxListCtrl *IMListCtrlPtr; int IMListIndex = 0; SectionType EditSectionType; XABPriorityCtrl *priorityCtrl = nullptr; }; #endif // __frmContactEditorIM__