tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / preferences / time / ClockView.h
blobd5a6e6502dece5b94c4965182f031d6c80ebfd43
1 /*
2 * Copyright 2004-2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * John Scipione <jscipione@gmail.com>
7 */
8 #ifndef _CLOCK_VIEW_H
9 #define _CLOCK_VIEW_H
12 #include <View.h>
15 class BCheckBox;
16 class BRadioButton;
19 class ClockView : public BView {
20 public:
21 ClockView(const char* name);
22 virtual ~ClockView();
24 virtual void AttachedToWindow();
25 virtual void MessageReceived(BMessage* message);
27 bool CheckCanRevert();
29 private:
30 void _Revert();
32 BCheckBox* fShowClock;
33 BCheckBox* fShowSeconds;
34 BCheckBox* fShowDayOfWeek;
35 BCheckBox* fShowTimeZone;
37 int32 fCachedShowClock;
38 int32 fCachedShowSeconds;
39 int32 fCachedShowDayOfWeek;
40 int32 fCachedShowTimeZone;
44 #endif // _CLOCK_VIEW_H