X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorIM.h;h=89e94ab5ca9115f07561745d2e6f2f5a2d171ccc;hp=ae966201ef0a8d88a24af09839deb3ec91b15c15;hb=5c75ce1e9d668d15d65dcb541fb09c49f01de277;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc diff --git a/source/contacteditor/frmContactEditorIM.h b/source/contacteditor/frmContactEditorIM.h index ae96620..89e94ab 100644 --- a/source/contacteditor/frmContactEditorIM.h +++ b/source/contacteditor/frmContactEditorIM.h @@ -1,3 +1,21 @@ +// 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__ @@ -10,6 +28,7 @@ Subclass of frmContactEditorIMADT, which is generated by wxFormBuilder. #include "../AppXestiaAddrBk.h" #include "../enums.h" +#include "../widgets/XABPriorityCtrl.h" //// end generated include @@ -18,7 +37,6 @@ class frmContactEditorIM : public frmContactEditorIMADT { protected: // Handlers for frmContactEditorIMADT events. - void EnablePriority( wxCommandEvent& event ); void ProcessAction( wxCommandEvent& event ); void CloseWindow( wxCommandEvent& event ); public: @@ -29,6 +47,7 @@ class frmContactEditorIM : public frmContactEditorIMADT std::map *IMListAltID, std::map *IMListPID, std::map *IMListType, + std::map *IMListTypeInfo, std::map *IMListTokens, std::map *IMListMediatype, std::map *IMListPref, @@ -42,13 +61,14 @@ class frmContactEditorIM : public frmContactEditorIMADT 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; + int IMListIndex = 0; SectionType EditSectionType; - + XABPriorityCtrl *priorityCtrl = nullptr; }; #endif // __frmContactEditorIM__