vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / time / BaseView.h
blob9d58a2566b1029e3689114e888118dfe07f1813f
1 /*
2 * Copyright 2004-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
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
13 #include <LayoutBuilder.h>
14 #include <Message.h>
17 class TTimeBaseView : public BGroupView {
18 public:
19 TTimeBaseView(const char* name);
20 virtual ~TTimeBaseView();
22 virtual void Pulse();
23 virtual void AttachedToWindow();
25 void ChangeTime(BMessage* message);
27 private:
28 void _SendNotices();
30 BMessage fMessage;
34 #endif // _BASE_VIEW_H