vfs: check userland buffers before reading them.
[haiku.git] / src / apps / activitymonitor / ActivityMonitor.h
blob036acb5559c76c0868f18426c4bdc7645a33114e
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
9 #include <Application.h>
10 #include <Catalog.h>
13 class ActivityWindow;
14 class BMessage;
16 #undef B_TRANSLATION_CONTEXT
17 #define B_TRANSLATION_CONTEXT "ActivityWindow"
20 class ActivityMonitor : public BApplication {
21 public:
22 ActivityMonitor();
23 virtual ~ActivityMonitor();
25 virtual void ReadyToRun();
27 virtual void RefsReceived(BMessage* message);
28 virtual void MessageReceived(BMessage* message);
30 virtual void AboutRequested();
32 private:
33 ActivityWindow* fWindow;
36 extern const char* kSignature;
38 #endif // ACTIVITY_MONITOR_H