Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Unit Tests: Updated copyright year on modified files
[xestiaab/.git] / source / contacteditor / frmContactEditorSound.h
1 // frmContactEditorSound.h - frmContactEditorSound form header.
2 //
3 // (c) 2012-2015 Xestia Software Development.
4 //
5 // This file is part of Xestia Address Book.
6 //
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.
10 //
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.
15 //
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__
22 /**
23 @file
24 Subclass of frmContactEditorSoundADT, which is generated by wxFormBuilder.
25 */
27 #include <map>
28 #include <string>
29 #include <thread>
31 #include <wx/tokenzr.h>
32 #include <wx/file.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"
41 #include "../enums.h"
42 #include "../widgets/XABPriorityCtrl.h"
44 //// end generated include
46 /** Implementing frmContactEditorSoundADT */
47 class frmContactEditorSound : public frmContactEditorSoundADT
48 {
49         protected:
50                 // Handlers for frmContactEditorSoundADT events.
51                 void ProcessData( wxCommandEvent& event );
52                 void CloseWindow( wxCommandEvent& event );
53         public:
54                 /** Constructor */
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,
67                         int SoundIndex );
68         //// end generated class members
69         
70         private:
71         
72                 bool EditorMode;
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;
83                 int SoundListIndex;
84                 SectionType EditSectionType;
85                 XABPriorityCtrl *priorityCtrl = nullptr;
86         //// end generated class members
87         
88 };
90 #endif // __frmContactEditorSound__
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