1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2009 the VideoLAN team
7 * Author: Erwan Tulou <erwan10 aT videolan doT org >
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef CMD_VOUTWINDOW_HPP
25 #define CMD_VOUTWINDOW_HPP
27 #include "cmd_generic.hpp"
28 #include <vlc_vout_window.h>
31 /// Command to create a vout window
32 class CmdNewVoutWindow: public CmdGeneric
35 /// Create a vout window
36 CmdNewVoutWindow( intf_thread_t *pIntf, vout_window_t *pWnd );
37 virtual ~CmdNewVoutWindow() { }
38 virtual void execute();
39 virtual string getType() const { return "wnd_new"; }
42 vout_window_t* m_pWnd;
46 /// Command to release a vout window
47 class CmdReleaseVoutWindow: public CmdGeneric
50 /// Release a vout window
51 CmdReleaseVoutWindow( intf_thread_t *pIntf, vout_window_t *pWnd );
52 virtual ~CmdReleaseVoutWindow() { }
53 virtual void execute();
54 virtual string getType() const { return "wnd_release"; }
57 vout_window_t* m_pWnd;