vfs: check userland buffers before reading them.
[haiku.git] / src / apps / mediaplayer / interface / PositionToolTip.h
blobb71c72733ba610c4658fe6b723d2bb5145b31687
1 /*
2 * Copyright 2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef POSITION_TOOL_TIP_H
6 #define POSITION_TOOL_TIP_H
9 #include <ToolTip.h>
12 class PositionToolTip : public BToolTip {
13 public:
14 PositionToolTip();
15 virtual ~PositionToolTip();
17 virtual BView* View() const;
19 void Update(bigtime_t position, bigtime_t duration);
21 private:
22 class PositionView;
24 PositionView* fView;
27 #endif // POSITION_TOOL_TIP_H