xref: /haiku/src/apps/diskusage/App.h (revision 973f8e214d612688c4a30fd48572a7eb57c902be)
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 
13 #include <Application.h>
14 
15 
16 class MainWindow;
17 
18 class App: public BApplication {
19 public:
20 								App();
21 	virtual						~App();
22 
23 	virtual	void				ArgvReceived(int32 argc, char** argv);
24 	virtual	void				RefsReceived(BMessage* message);
25 
26 	virtual	void				ReadyToRun();
27 	virtual	bool				QuitRequested();
28 
29 private:
30 			MainWindow*			fMainWindow;
31 			BMessage*			fSavedRefsReceived;
32 };
33 
34 #endif // APP_H
35