10fe1abb5Smahlzeit /* 20fe1abb5Smahlzeit * Copyright (c) 2004 Matthijs Hollemans 30fe1abb5Smahlzeit * 40fe1abb5Smahlzeit * Permission is hereby granted, free of charge, to any person obtaining a 50fe1abb5Smahlzeit * copy of this software and associated documentation files (the "Software"), 60fe1abb5Smahlzeit * to deal in the Software without restriction, including without limitation 70fe1abb5Smahlzeit * the rights to use, copy, modify, merge, publish, distribute, sublicense, 80fe1abb5Smahlzeit * and/or sell copies of the Software, and to permit persons to whom the 90fe1abb5Smahlzeit * Software is furnished to do so, subject to the following conditions: 100fe1abb5Smahlzeit * 110fe1abb5Smahlzeit * The above copyright notice and this permission notice shall be included in 120fe1abb5Smahlzeit * all copies or substantial portions of the Software. 130fe1abb5Smahlzeit * 140fe1abb5Smahlzeit * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 150fe1abb5Smahlzeit * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 160fe1abb5Smahlzeit * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 170fe1abb5Smahlzeit * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 180fe1abb5Smahlzeit * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 190fe1abb5Smahlzeit * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 200fe1abb5Smahlzeit * DEALINGS IN THE SOFTWARE. 210fe1abb5Smahlzeit */ 220fe1abb5Smahlzeit #ifndef MIDI_PLAYER_APP_H 230fe1abb5Smahlzeit #define MIDI_PLAYER_APP_H 240fe1abb5Smahlzeit 250fe1abb5Smahlzeit #include <Application.h> 260fe1abb5Smahlzeit 27*1f8b22efSAxel Dörfler #define MIDI_PLAYER_SIGNATURE "application/x-vnd.Haiku-MidiPlayer" 280fe1abb5Smahlzeit 290fe1abb5Smahlzeit class MidiPlayerWindow; 300fe1abb5Smahlzeit 31*1f8b22efSAxel Dörfler class MidiPlayerApp : public BApplication { 320fe1abb5Smahlzeit public: 330fe1abb5Smahlzeit MidiPlayerApp(); 340fe1abb5Smahlzeit 350fe1abb5Smahlzeit virtual void ReadyToRun(); 360fe1abb5Smahlzeit virtual void AboutRequested(); 370fe1abb5Smahlzeit virtual void RefsReceived(BMessage* msg); 380fe1abb5Smahlzeit virtual void ArgvReceived(int32 argc, char** argv); 390fe1abb5Smahlzeit 400fe1abb5Smahlzeit private: 410fe1abb5Smahlzeit typedef BApplication super; 420fe1abb5Smahlzeit 430fe1abb5Smahlzeit MidiPlayerWindow* window; 440fe1abb5Smahlzeit }; 450fe1abb5Smahlzeit 460fe1abb5Smahlzeit #endif // MIDI_PLAYER_APP_H 47