xref: /haiku/src/apps/activitymonitor/SettingsWindow.h (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
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
7 
8 
9 #include <Messenger.h>
10 
11 #include "ActivityWindow.h"
12 
13 class IntervalSlider;
14 
15 
16 class SettingsWindow : public BWindow {
17 public:
18 						SettingsWindow(ActivityWindow* target);
19 	virtual				~SettingsWindow();
20 
21 	virtual void		MessageReceived(BMessage* message);
22 	virtual bool		QuitRequested();
23 
24 private:
25 	BRect				_RelativeTo(BWindow* window);
26 
27 	BMessenger			fTarget;
28 	IntervalSlider*		fIntervalSlider;
29 };
30 
31 static const uint32 kMsgTimeIntervalUpdated = 'tiup';
32 
33 #endif	// SETTINGS_WINDOW_H
34