* Copyright (C) 2003 the VideoLAN team
* $Id$
*
- * Authors: Mohammed Adnène Trojette <adn@via.ecp.fr>
+ * Authors: Mohammed Adnène Trojette <adn@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.
*****************************************************************************/
#include "cmd_minimize.hpp"
#include "../src/os_factory.hpp"
+
void CmdMinimize::execute()
{
// Get the instance of OSFactory
pOsFactory->minimize();
}
+
+void CmdRestore::execute()
+{
+ // Get the instance of OSFactory
+ OSFactory *pOsFactory = OSFactory::instance( getIntf() );
+ pOsFactory->restore();
+}
+
+
+void CmdAddInTray::execute()
+{
+ // Get the instance of OSFactory
+ OSFactory *pOsFactory = OSFactory::instance( getIntf() );
+ pOsFactory->addInTray();
+}
+
+
+void CmdRemoveFromTray::execute()
+{
+ // Get the instance of OSFactory
+ OSFactory *pOsFactory = OSFactory::instance( getIntf() );
+ pOsFactory->removeFromTray();
+}
+
+
+void CmdAddInTaskBar::execute()
+{
+ // Get the instance of OSFactory
+ OSFactory *pOsFactory = OSFactory::instance( getIntf() );
+ pOsFactory->addInTaskBar();
+}
+
+
+void CmdRemoveFromTaskBar::execute()
+{
+ // Get the instance of OSFactory
+ OSFactory *pOsFactory = OSFactory::instance( getIntf() );
+ pOsFactory->removeFromTaskBar();
+}
+