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 MidiSettingsView : public SettingsView { 15 public: 16 MidiSettingsView(); 17 virtual void AttachedToWindow(); 18 virtual void MessageReceived(BMessage* message); 19 20 private: 21 void _RetrieveSoftSynthList(); 22 void _LoadSettings(); 23 void _SaveSettings(); 24 25 BListView* fListView; 26 }; 27 28 #endif /* MIDIVIEW_H_ */ 29