]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/commands/cmd_on_top.hpp
Fix MRL generation for open dialog in order to stream. (#1575)
[vlc] / modules / gui / skins2 / commands / cmd_on_top.hpp
index 3a17f6cc650b31a18a417b240ebbe53b0b10a612..6537370559cf1a03c8636bbe63ac4bd84e621118 100644 (file)
@@ -1,11 +1,11 @@
 /*****************************************************************************
  * cmd_on_top.hpp
  *****************************************************************************
- * Copyright (C) 2003 VideoLAN
- * $Id: cmd_on_top.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
@@ -19,7 +19,7 @@
  *
  * 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_ON_TOP_HPP
 
 
 /// "Always on top" command
-class CmdOnTop: public CmdGeneric
-{
-    public:
-        CmdOnTop( intf_thread_t *pIntf ): CmdGeneric( pIntf ) {}
-        virtual ~CmdOnTop() {}
-
-        /// This method does the real job of the command
-        virtual void execute();
-
-        /// Return the type of the command
-        virtual string getType() const { return "always on top"; }
-};
+DEFINE_COMMAND( OnTop, "always on top" )
 
 #endif