xref: /haiku/src/apps/activitymonitor/ActivityMonitor.h (revision 5c6260dc232fcb2d4d5d1103c1623dba9663b753)
1 /*
2  * Copyright 2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef ACTIVITY_MONITOR_H
6 #define ACTIVITY_MONITOR_H
7 
8 
9 #include <Application.h>
10 #include <Catalog.h>
11 
12 class BMessage;
13 class ActivityWindow;
14 
15 #undef B_TRANSLATE_CONTEXT
16 #define B_TRANSLATE_CONTEXT "ActivityWindow"
17 
18 
19 class ActivityMonitor : public BApplication {
20 public:
21 					ActivityMonitor();
22 	virtual			~ActivityMonitor();
23 
24 	virtual	void	ReadyToRun();
25 
26 	virtual	void	RefsReceived(BMessage* message);
27 	virtual	void	MessageReceived(BMessage* message);
28 
29 	virtual	void	AboutRequested();
30 
31 	static	void	ShowAbout();
32 
33 private:
34 	ActivityWindow*	fWindow;
35 };
36 
37 extern const char* kSignature;
38 
39 #endif	// ACTIVITY_MONITOR_H
40