1 // frmContactEditorSound.h - frmContactEditorSound form header.
3 // (c) 2012-2015 Xestia Software Development.
5 // This file is part of Xestia Address Book.
7 // Xestia Address Book is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
11 // Xestia Address Book is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __frmContactEditorSound__
20 #define __frmContactEditorSound__
24 Subclass of frmContactEditorSoundADT, which is generated by wxFormBuilder.
31 #include <wx/tokenzr.h>
33 #include <SFML/Audio.hpp>
35 #include "../AppXestiaAddrBk.h"
36 #include "frmContactEditorSound.h"
38 #include "../common/textprocessing.h"
39 #include "../common/base64.h"
40 #include "../common/mime.h"
42 #include "../widgets/XABPriorityCtrl.h"
44 //// end generated include
46 /** Implementing frmContactEditorSoundADT */
47 class frmContactEditorSound : public frmContactEditorSoundADT
50 // Handlers for frmContactEditorSoundADT events.
51 void ProcessData( wxCommandEvent& event );
52 void CloseWindow( wxCommandEvent& event );
55 frmContactEditorSound( wxWindow* parent );
56 void SetEditorMode(bool EditMode);
57 void SetupPointers(std::map<int, std::string> *SoundList,
58 std::map<int, wxString> *SoundListAltID,
59 std::map<int, wxString> *SoundListPID,
60 std::map<int, wxString> *SoundListType,
61 std::map<int, wxString> *SoundListAudioType,
62 std::map<int, wxString> *SoundListAudioEncType,
63 std::map<int, wxString> *SoundListTokens,
64 std::map<int, wxString> *SoundListMediatype,
65 std::map<int, int> *SoundListPref,
66 wxListCtrl *SoundListCtrl,
68 //// end generated class members
73 std::map<int, std::string> *SoundListPtr;
74 std::map<int, wxString> *SoundListAltIDPtr;
75 std::map<int, wxString> *SoundListPIDPtr;
76 std::map<int, wxString> *SoundListTypePtr;
77 std::map<int, wxString> *SoundListAudioTypePtr;
78 std::map<int, wxString> *SoundListAudioEncTypePtr;
79 std::map<int, wxString> *SoundListTokensPtr;
80 std::map<int, wxString> *SoundListMediatypePtr;
81 std::map<int, int> *SoundListPrefPtr;
82 wxListCtrl *SoundListCtrlPtr;
84 SectionType EditSectionType;
85 XABPriorityCtrl *priorityCtrl = nullptr;
86 //// end generated class members
90 #endif // __frmContactEditorSound__