cmd_voutwindow.hpp

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * cmd_voutwindow.hpp
00003  *****************************************************************************
00004  * Copyright (C) 2009 the VideoLAN team
00005  * $Id: 25aaad8c53c6feda6f1ba904ee7a87e741431f44 $
00006  *
00007  * Author: Erwan Tulou      <erwan10 aT videolan doT org >
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License along
00020  * with this program; if not, write to the Free Software Foundation, Inc.,
00021  * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 #ifndef CMD_VOUTWINDOW_HPP
00025 #define CMD_VOUTWINDOW_HPP
00026 
00027 #include "cmd_generic.hpp"
00028 #include <vlc_vout_window.h>
00029 
00030 
00031 /// Command to create a vout window
00032 class CmdNewVoutWindow: public CmdGeneric
00033 {
00034 public:
00035     /// Create a vout window
00036     CmdNewVoutWindow( intf_thread_t *pIntf, vout_window_t *pWnd );
00037     virtual ~CmdNewVoutWindow() { }
00038     virtual void execute();
00039     virtual string getType() const { return "new vout window"; }
00040 
00041 private:
00042     vout_window_t* m_pWnd;
00043 };
00044 
00045 
00046 /// Command to release a vout window
00047 class CmdReleaseVoutWindow: public CmdGeneric
00048 {
00049 public:
00050     /// Release a vout window
00051     CmdReleaseVoutWindow( intf_thread_t *pIntf, vout_window_t *pWnd );
00052     virtual ~CmdReleaseVoutWindow() { }
00053     virtual void execute();
00054     virtual string getType() const { return "new vout window"; }
00055 
00056 private:
00057     vout_window_t* m_pWnd;
00058 };
00059 
00060 #endif

Generated on Tue May 25 08:04:58 2010 for VLC by  doxygen 1.5.6