3rdparty/licenseReport: Add seperate LGPL checks
[haiku.git] / src / add-ons / media / media-add-ons / videowindow / VideoWindow.cpp
blobd583ae9af603280e8a68c1952a101ded858df713
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 #include "VideoWindow.h"
8 #include "VideoView.h"
11 VideoWindow::VideoWindow(BRect size, VideoView* view)
12 : BWindow(size, "Video Window", B_TITLED_WINDOW, 0)
13 , fVideoView(view)
15 if (fVideoView)
16 AddChild(fVideoView);
20 VideoWindow::~VideoWindow()
25 void
26 VideoWindow::MessageReceived(BMessage *msg)
28 if (msg)
29 BWindow::MessageReceived(msg);