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 13class ActivityWindow; 14class BMessage; 15 16#undef B_TRANSLATION_CONTEXT 17#define B_TRANSLATION_CONTEXT "ActivityWindow" 18 19 20class ActivityMonitor : public BApplication { 21public: 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 32private: 33 ActivityWindow* fWindow; 34}; 35 36extern const char* kSignature; 37 38#endif // ACTIVITY_MONITOR_H 39