1 /* 2 * Copyright (c) 2008 Stephan Aßmus <superstippi@gmx.de>. All rights reserved. 3 * Distributed under the terms of the MIT/X11 license. 4 * 5 * Copyright (c) 1999 Mike Steed. You are free to use and distribute this software 6 * as long as it is accompanied by it's documentation and this copyright notice. 7 * The software comes with no warranty, etc. 8 */ 9 #ifndef APP_H 10 #define APP_H 11 12 #include <Application.h> 13 14 15 class MainWindow; 16 17 class App: public BApplication { 18 public: 19 App(); 20 virtual ~App(); 21 22 virtual void ArgvReceived(int32 argc, char** argv); 23 virtual void RefsReceived(BMessage* message); 24 25 virtual void ReadyToRun(); 26 virtual bool QuitRequested(); 27 28 private: 29 BResources* fResources; 30 MainWindow* fMainWindow; 31 BMessage* fSavedRefsReceived; 32 }; 33 34 #endif // APP_H 35 36