Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmContactEditorIM: Implemented priority control
[xestiaab/.git] / source / contacteditor / frmContactEditorIM.h
index ae96620..89e94ab 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>
+
 #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<int, wxString> *IMListAltID,
                        std::map<int, wxString> *IMListPID,
                        std::map<int, wxString> *IMListType,
+                       std::map<int, wxString> *IMListTypeInfo,
                        std::map<int, wxString> *IMListTokens,
                        std::map<int, wxString> *IMListMediatype,
                        std::map<int, int> *IMListPref,
@@ -42,13 +61,14 @@ class frmContactEditorIM : public frmContactEditorIMADT
                std::map<int, wxString> *IMListAltIDPtr;
                std::map<int, wxString> *IMListPIDPtr;
                std::map<int, wxString> *IMListTypePtr;
+               std::map<int, wxString> *IMListTypeInfoPtr;
                std::map<int, wxString> *IMListTokensPtr;
                std::map<int, wxString> *IMListMediatypePtr;
                std::map<int, int> *IMListPrefPtr;      
                wxListCtrl *IMListCtrlPtr;
-               int IMListIndex;
+               int IMListIndex = 0;
                SectionType EditSectionType;    
-       
+               XABPriorityCtrl *priorityCtrl = nullptr;
 };
 
 #endif // __frmContactEditorIM__
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy