xref: /haiku/src/preferences/time/BaseView.h (revision 1acbe440b8dd798953bec31d18ee589aa3f71b73)
1 #ifndef TIMEBASE_H
2 #define TIMEBASE_H
3 
4 #include <Message.h>
5 #include <View.h>
6 
7 
8 class TTimeBaseView: public BView {
9 	public:
10 		TTimeBaseView(BRect frmae, const char *name);
11 		virtual ~TTimeBaseView();
12 
13 		virtual void Pulse();
14 		virtual void AttachedToWindow();
15 
16 		void ChangeTime(BMessage *);
17 		void SetGMTime(bool);
18 	protected:
19 		virtual void DispatchMessage();
20 	private:
21 		BMessage *fMessage;
22 		bool fIsGMT;
23 };
24 
25 #endif //TIMEBASE_H
26