2 * Copyright 2004-2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Andrew McCall <mccall@@digitalparadise.co.uk>
7 * Mike Berg <mike@berg-net.us>
8 * Julun <host.haiku@gmx.de>
9 * Philippe Saint-Pierre <stpere@gmail.com>
10 * Hamish Morrison <hamish@lavabit.com>
12 #ifndef _DATE_TIME_VIEW_H
13 #define _DATE_TIME_VIEW_H
16 #include <LayoutBuilder.h>
27 using BPrivate::BCalendarView
;
30 class DateTimeView
: public BGroupView
{
32 DateTimeView(const char* name
);
33 virtual ~DateTimeView();
35 virtual void AttachedToWindow();
36 virtual void MessageReceived(BMessage
* message
);
38 bool CheckCanRevert();
42 void _UpdateDateTime(BMessage
* message
);
44 time_t _PrefletUptime() const;
48 BCalendarView
* fCalendarView
;
54 bigtime_t fSystemTimeAtStart
;
58 #endif // _DATE_TIME_VIEW_H