1 /* 2 * Copyright 2006-2009, Stephan Aßmus <superstippi@gmx.de>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef APP_H 6 #define APP_H 7 8 #include <Application.h> 9 #include <List.h> 10 11 class MainWindow; 12 13 class App : public BApplication { 14 public: 15 App(); 16 virtual ~App(); 17 18 virtual bool QuitRequested(); 19 virtual void ReadyToRun(); 20 virtual void MessageReceived(BMessage* message); 21 virtual void AboutRequested(); 22 virtual void Pulse(); 23 24 private: 25 void _StoreSettingsIfNeeded(); 26 27 bool fSettingsChanged; 28 }; 29 30 #endif // APP_H 31