xref: /haiku/src/preferences/time/BaseView.h (revision 1214ef1b2100f2b3299fc9d8d6142e46f70a4c3f)
1 /*
2  * Copyright 2004-2007, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Mike Berg <mike@berg-net.us>
7  *		Julun <host.haiku@gmx.de>
8  */
9 #ifndef TIMEBASE_H
10 #define TIMEBASE_H
11 
12 
13 #include <Message.h>
14 #include <View.h>
15 
16 
17 class TTimeBaseView: public BView {
18 	public:
19 						TTimeBaseView(BRect frame, const char *name);
20 		virtual 		~TTimeBaseView();
21 
22 		virtual void 	Pulse();
23 		virtual void 	AttachedToWindow();
24 
25 		void 			ChangeTime(BMessage *message);
26 
27 	private:
28 		void			_SendNotices();
29 
30 	private:
31 		BMessage 		fMessage;
32 };
33 
34 #endif	// TIMEBASE_H
35 
36