// frmContactEditorGroups.h - frmContactEditorGroups 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 __frmContactEditorGroups__ #define __frmContactEditorGroups__ #include /** @file Subclass of frmContactEditorGroupsADT, which is generated by wxFormBuilder. */ #include "../AppXestiaAddrBk.h" #include "../frmMain.h" struct ContactData{ wxString ContactName; wxString ContactUID; wxString ContactFilename; }; //// end generated include /** Implementing frmContactEditorGroupsADT */ class frmContactEditorGroup : public frmContactEditorGroupsADT { protected: // Handlers for frmContactEditorGroupsADT events. void FetchContacts( wxInitDialogEvent& event ); void ProcessData( wxCommandEvent& event ); void CloseWindow( wxCommandEvent& event ); public: /** Constructor */ frmContactEditorGroup( wxWindow* parent ); void SetEditorMode(bool EditMode, XABViewMode XAVIn); void SetupPointers(std::map *GroupsList, wxListCtrl *GroupsListCtrl, wxString AccountName, int GroupIndex); private: bool EditorMode; std::map *GroupsListPtr; wxListCtrl *GroupsListCtrlPtr; wxString AccName; std::map ContactNamesData; int GroupsListIndex; XABViewMode XVMData; //// end generated class members }; #endif // __frmContactEditorGroups__