1 /* 2 * Copyright 2004-2007, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Andrew McCall <mccall@@digitalparadise.co.uk> 7 * Julun <host.haiku@gmx.de> 8 * 9 */ 10 #ifndef TIME_WINDOW_H 11 #define TIME_WINDOW_H 12 13 14 #include <Window.h> 15 16 17 class BMessage; 18 class DateTimeView; 19 class TTimeBaseView; 20 class TimeZoneView; 21 22 23 class TTimeWindow : public BWindow { 24 public: 25 TTimeWindow(BRect rect); 26 virtual ~TTimeWindow(); 27 28 virtual bool QuitRequested(); 29 virtual void MessageReceived(BMessage *message); 30 void SetRevertStatus(); 31 32 private: 33 void _InitWindow(); 34 void _AlignWindow(); 35 36 private: 37 TTimeBaseView *fBaseView; 38 DateTimeView *fDateTimeView; 39 TimeZoneView *fTimeZoneView; 40 BButton *fRevertButton; 41 }; 42 43 #endif // TIME_WINDOW_H 44 45