/*****************************************************************************
* cmd_layout.hpp
*****************************************************************************
- * Copyright (C) 2003 VideoLAN
- * $Id: cmd_layout.hpp,v 1.1 2004/01/03 23:31:33 asmax Exp $
+ * Copyright (C) 2003 the VideoLAN team
+ * $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
- * Olivier Teulière <ipkiss@via.ecp.fr>
+ * Olivier Teulière <ipkiss@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* 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 CMD_LAYOUT_HPP
#define CMD_LAYOUT_HPP
#include "cmd_generic.hpp"
-#include <string>
+class TopWindow;
+class GenericLayout;
/// "Change layout" command
class CmdLayout: public CmdGeneric
{
public:
- CmdLayout( intf_thread_t *pIntf, const string &windowId,
- const string &layoutId );
+ CmdLayout( intf_thread_t *pIntf, TopWindow &rWindow,
+ GenericLayout &rLayout );
virtual ~CmdLayout() {}
/// This method does the real job of the command
virtual string getType() const { return "change layout"; }
private:
- string m_windowId;
- string m_layoutId;
+ TopWindow &m_rWindow;
+ GenericLayout &m_rLayout;
};
#endif