xref: /haiku/src/preferences/time/BaseView.h (revision e0ef64750f3169cd634bb2f7a001e22488b05231)
1 /*
2  * Copyright 2004-2010, 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 _BASE_VIEW_H
10 #define _BASE_VIEW_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 
35 #endif	// _BASE_VIEW_H
36