2 * Copyright 2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
7 #include "ActivityMonitor.h"
11 #include <Application.h>
13 #include "ActivityWindow.h"
16 const char* kAppName
= B_TRANSLATE_SYSTEM_NAME("ActivityMonitor");
17 const char* kSignature
= "application/x-vnd.Haiku-ActivityMonitor";
20 ActivityMonitor::ActivityMonitor()
21 : BApplication(kSignature
)
23 fWindow
= new ActivityWindow();
27 ActivityMonitor::~ActivityMonitor()
33 ActivityMonitor::ReadyToRun()
40 ActivityMonitor::RefsReceived(BMessage
* message
)
42 fWindow
->PostMessage(message
);
47 ActivityMonitor::MessageReceived(BMessage
* message
)
49 BApplication::MessageReceived(message
);
54 ActivityMonitor::AboutRequested()
63 main(int /*argc*/, char** /*argv*/)