1 /* 2 * Copyright 2014, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #ifndef MIDIVIEW_H_ 7 #define MIDIVIEW_H_ 8 9 10 #include "MediaViews.h" 11 12 class BButton; 13 class BListView; 14 class BStringView; 15 class MidiSettingsView : public SettingsView { 16 public: 17 MidiSettingsView(); 18 virtual void AttachedToWindow(); 19 virtual void MessageReceived(BMessage* message); 20 21 private: 22 void _RetrieveSoftSynthList(); 23 void _LoadSettings(); 24 void _SaveSettings(); 25 BString _SelectedSoundFont() const; 26 27 BListView* fListView; 28 BStringView* fActiveSoundFont; 29 }; 30 31 #endif /* MIDIVIEW_H_ */ 32