vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / media / media-add-ons / videowindow / VideoWindow.h
blob663821505704e8361eb1f3fac9c258985f1c073e
1 /*
2 * Copyright (C) 2006-2008 Marcus Overhagen <marcus@overhagen.de>. All rights reserved.
3 * Copyright (C) 2008 Maurice Kalinowski <haiku@kaldience.com>. All rights reserved.
5 * Distributed under the terms of the MIT License.
6 */
7 #ifndef __VIDEO_WINDOW_H
8 #define __VIDEO_WINDOW_H
11 #include <Window.h>
14 class VideoView;
17 class VideoWindow : public BWindow
19 public:
20 VideoWindow(BRect size, VideoView* view);
21 ~VideoWindow();
22 void MessageReceived(BMessage *msg);
24 private:
25 VideoView * fVideoView;
28 #endif