xref: /haiku/src/apps/activitymonitor/ActivityMonitor.h (revision cbe0a0c436162d78cc3f92a305b64918c839d079)
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 
13 class ActivityWindow;
14 class BMessage;
15 
16 #undef B_TRANSLATION_CONTEXT
17 #define B_TRANSLATION_CONTEXT "ActivityWindow"
18 
19 
20 class ActivityMonitor : public BApplication {
21 public:
22 					ActivityMonitor();
23 	virtual			~ActivityMonitor();
24 
25 	virtual	void	ReadyToRun();
26 
27 	virtual	void	RefsReceived(BMessage* message);
28 	virtual	void	MessageReceived(BMessage* message);
29 
30 	virtual	void	AboutRequested();
31 
32 private:
33 	ActivityWindow*	fWindow;
34 };
35 
36 extern const char* kSignature;
37 
38 #endif	// ACTIVITY_MONITOR_H
39