1 /** 2 * @file MidiServerApp.h 3 * 4 * @author Matthijs Hollemans 5 * @author Jerome Leveque 6 */ 7 8 #ifndef MIDI_SERVER_APP_H 9 #define MIDI_SERVER_APP_H 10 11 #include <Application.h> 12 13 #define MIDI_SERVER_SIGNATURE "application/x-vnd.OpenBeOS-midi-server" 14 15 /** 16 * The BApplication that drives the midi_server. 17 */ 18 class MidiServerApp : public BApplication 19 { 20 public: 21 MidiServerApp(); 22 virtual ~MidiServerApp(); 23 24 virtual void AboutRequested(); 25 virtual void MessageReceived(BMessage* msg); 26 27 //int32 GetNextFreeID(); 28 //BMidiEndpoint* NextEndPoint(int32* id); 29 //BMidiRoster* GetRoster(); 30 31 private: 32 33 /** Our superclass. */ 34 typedef BApplication super; 35 36 //BList* endpoints; 37 //int32 nextFreeID; 38 //BMidiRoster* roster; 39 }; 40 41 #endif // MIDI_SERVER_APP_H 42 43