xref: /haiku/src/preferences/time/BaseView.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
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 <LayoutBuilder.h>
14 #include <Message.h>
15 
16 
17 class TTimeBaseView : public BGroupView {
18 public:
19 								TTimeBaseView(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 			BMessage			fMessage;
31 };
32 
33 
34 #endif	// _BASE_VIEW_H
35