1*0fe1abb5Smahlzeit /* 2*0fe1abb5Smahlzeit * Copyright (c) 2004 Matthijs Hollemans 3*0fe1abb5Smahlzeit * 4*0fe1abb5Smahlzeit * Permission is hereby granted, free of charge, to any person obtaining a 5*0fe1abb5Smahlzeit * copy of this software and associated documentation files (the "Software"), 6*0fe1abb5Smahlzeit * to deal in the Software without restriction, including without limitation 7*0fe1abb5Smahlzeit * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8*0fe1abb5Smahlzeit * and/or sell copies of the Software, and to permit persons to whom the 9*0fe1abb5Smahlzeit * Software is furnished to do so, subject to the following conditions: 10*0fe1abb5Smahlzeit * 11*0fe1abb5Smahlzeit * The above copyright notice and this permission notice shall be included in 12*0fe1abb5Smahlzeit * all copies or substantial portions of the Software. 13*0fe1abb5Smahlzeit * 14*0fe1abb5Smahlzeit * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15*0fe1abb5Smahlzeit * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16*0fe1abb5Smahlzeit * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17*0fe1abb5Smahlzeit * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18*0fe1abb5Smahlzeit * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19*0fe1abb5Smahlzeit * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20*0fe1abb5Smahlzeit * DEALINGS IN THE SOFTWARE. 21*0fe1abb5Smahlzeit */ 22*0fe1abb5Smahlzeit 23*0fe1abb5Smahlzeit #ifndef MIDI_PLAYER_APP_H 24*0fe1abb5Smahlzeit #define MIDI_PLAYER_APP_H 25*0fe1abb5Smahlzeit 26*0fe1abb5Smahlzeit #include <Application.h> 27*0fe1abb5Smahlzeit 28*0fe1abb5Smahlzeit #define MIDI_PLAYER_SIGNATURE "application/x-vnd.OpenBeOS.MidiPlayer" 29*0fe1abb5Smahlzeit 30*0fe1abb5Smahlzeit class MidiPlayerWindow; 31*0fe1abb5Smahlzeit 32*0fe1abb5Smahlzeit class MidiPlayerApp : public BApplication 33*0fe1abb5Smahlzeit { 34*0fe1abb5Smahlzeit public: 35*0fe1abb5Smahlzeit 36*0fe1abb5Smahlzeit MidiPlayerApp(); 37*0fe1abb5Smahlzeit 38*0fe1abb5Smahlzeit virtual void ReadyToRun(); 39*0fe1abb5Smahlzeit virtual void AboutRequested(); 40*0fe1abb5Smahlzeit virtual void RefsReceived(BMessage* msg); 41*0fe1abb5Smahlzeit virtual void ArgvReceived(int32 argc, char** argv); 42*0fe1abb5Smahlzeit 43*0fe1abb5Smahlzeit private: 44*0fe1abb5Smahlzeit 45*0fe1abb5Smahlzeit typedef BApplication super; 46*0fe1abb5Smahlzeit 47*0fe1abb5Smahlzeit MidiPlayerWindow* window; 48*0fe1abb5Smahlzeit }; 49*0fe1abb5Smahlzeit 50*0fe1abb5Smahlzeit #endif // MIDI_PLAYER_APP_H 51