usb_ecm: Use the current configuration instead of a fixed one.
[haiku.git] / src / preferences / time / TimeWindow.h
blob46af79ec638c5398d2ee07a50790dd025d0ed5d8
1 /*
2 * Copyright 2004-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Andrew McCall <mccall@@digitalparadise.co.uk>
7 * Julun <host.haiku@gmx.de>
8 */
9 #ifndef _TIME_WINDOW_H
10 #define _TIME_WINDOW_H
13 #include <Window.h>
16 class BMessage;
17 class BTabView;
18 class ClockView;
19 class DateTimeView;
20 class NetworkTimeView;
21 class TimeZoneView;
22 class TTimeBaseView;
25 class TTimeWindow : public BWindow {
26 public:
27 TTimeWindow();
28 virtual ~TTimeWindow();
30 virtual bool QuitRequested();
31 virtual void MessageReceived(BMessage* message);
33 private:
34 void _InitWindow();
35 void _AlignWindow();
36 void _SendTimeChangeFinished();
37 void _SetRevertStatus();
39 TTimeBaseView* fBaseView;
41 BTabView* fTabView;
42 DateTimeView* fDateTimeView;
43 TimeZoneView* fTimeZoneView;
44 NetworkTimeView* fNetworkTimeView;
45 ClockView* fClockView;
47 BButton* fRevertButton;
51 #endif // _TIME_WINDOW_H