xref: /haiku/src/apps/launchbox/App.h (revision 7a74a5df454197933bc6e80a542102362ee98703)
1 /*
2  * Copyright 2006-2011, 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 
9 #include <Application.h>
10 #include <List.h>
11 #include <Size.h>
12 
13 
14 class MainWindow;
15 
16 
17 class App : public BApplication {
18 public:
19 								App();
20 	virtual						~App();
21 
22 	virtual	bool				QuitRequested();
23 	virtual	void				ReadyToRun();
24 	virtual	void				MessageReceived(BMessage* message);
25 	virtual	void				Pulse();
26 
27 			void				SetNamePanelSize(const BSize& size);
28 			BSize				NamePanelSize();
29 
30 private:
31 			void				_StoreSettingsIfNeeded();
32 
33 			bool				fSettingsChanged;
34 
35 			BSize				fNamePanelSize;
36 };
37 
38 
39 #endif // APP_H
40