Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Fixed crash in frmContactEditorOrganisations in Edit mode.
[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 "../AppXestiaAddrBk.h"
30 #include "../enums.h"
32 //// end generated include
34 /** Implementing frmContactEditorSoundADT */
35 class frmContactEditorSound : public frmContactEditorSoundADT
36 {
37         protected:
38                 // Handlers for frmContactEditorSoundADT events.
39                 void EnablePriority( wxCommandEvent& event );
40                 void ProcessData( wxCommandEvent& event );
41                 void CloseWindow( wxCommandEvent& event );
42         public:
43                 /** Constructor */
44                 frmContactEditorSound( wxWindow* parent );
45                 void SetEditorMode(bool EditMode);
46                 void SetupPointers(std::map<int, std::string> *SoundList,               
47                         std::map<int, wxString> *SoundListAltID,
48                         std::map<int, wxString> *SoundListPID,
49                         std::map<int, wxString> *SoundListType,
50                         std::map<int, wxString> *SoundListAudioType,
51                         std::map<int, wxString> *SoundListAudioEncType,                 
52                         std::map<int, wxString> *SoundListTokens,
53                         std::map<int, wxString> *SoundListMediatype,    
54                         std::map<int, int> *SoundListPref,
55                         wxListCtrl *SoundListCtrl,
56                         int SoundIndex );
57         //// end generated class members
58         
59         private:
60         
61                 bool EditorMode;
62                 std::map<int, std::string> *SoundListPtr;
63                 std::map<int, wxString> *SoundListAltIDPtr;
64                 std::map<int, wxString> *SoundListPIDPtr;
65                 std::map<int, wxString> *SoundListTypePtr;
66                 std::map<int, wxString> *SoundListAudioTypePtr; 
67                 std::map<int, wxString> *SoundListAudioEncTypePtr;
68                 std::map<int, wxString> *SoundListTokensPtr;
69                 std::map<int, wxString> *SoundListMediatypePtr;         
70                 std::map<int, int> *SoundListPrefPtr;
71                 wxListCtrl *SoundListCtrlPtr;
72                 int SoundListIndex;
73                 SectionType EditSectionType;            
74         //// end generated class members
75         
76 };
78 #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