btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / activitymonitor / SettingsWindow.h
bloba057870ab9c6fe9406f437cce9d0b13fcfe7e4f0
1 /*
2 * Copyright 2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef SETTINGS_WINDOW_H
6 #define SETTINGS_WINDOW_H
9 #include <Messenger.h>
11 #include "ActivityWindow.h"
13 class IntervalSlider;
16 class SettingsWindow : public BWindow {
17 public:
18 SettingsWindow(ActivityWindow* target);
19 virtual ~SettingsWindow();
21 virtual void MessageReceived(BMessage* message);
22 virtual bool QuitRequested();
24 private:
25 BRect _RelativeTo(BWindow* window);
27 BMessenger fTarget;
28 IntervalSlider* fIntervalSlider;
31 static const uint32 kMsgTimeIntervalUpdated = 'tiup';
33 #endif // SETTINGS_WINDOW_H