/*****************************************************************************
* vout_window.hpp
*****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 the VideoLAN team
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef VOUT_WINDOW_HPP
/// Class to handle a video output window
-class VoutWindow: public GenericWindow
+class VoutWindow: private GenericWindow
{
public:
VoutWindow( intf_thread_t *pIntf, int xPos, int yPos,
bool dragDrop, bool playOnDrop, GenericWindow &rParent );
virtual ~VoutWindow();
- /// These methods are redefined here to make them public
+ /// Make some functions public
//@{
- /// Show the window
- virtual void show() { GenericWindow::show(); }
-
- /// Hide the window
- virtual void hide() { GenericWindow::hide(); }
-
- /// Move the window
- virtual void move( int left, int top )
- { GenericWindow::move( left, top ); }
+ using GenericWindow::show;
+ using GenericWindow::hide;
+ using GenericWindow::move;
//@}
/// Resize the window