1 /***************************************************************************
2 * Copyright (C) 2007 David Cuadrado *
5 * This library is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU Lesser General Public *
7 * License as published by the Free Software Foundation; either *
8 * version 2.1 of the License, or (at your option) any later version. *
10 * This library is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
13 * Lesser General Public License for more details. *
15 * You should have received a copy of the GNU Lesser General Public *
16 * License along with this library; if not, write to the Free Software *
18 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
19 ***************************************************************************/
23 #ifndef YAMF_COMMANDREMOVESCENE_H
24 #define YAMF_COMMANDREMOVESCENE_H
26 #include <yamf/model/command/base.h>
28 #include <yamf/common/inthash.h>
29 #include <yamf/common/yamf_exports.h>
42 * @brief Esta clase provee de un comando para remover una escena de la colección que la contiene.
43 * @author David Cuadrado <krawek@gmail.com>
45 class YAMF_EXPORT RemoveScene
: public YAMF::Command::Base
48 RemoveScene(Model::Scene
*scene
, Common::IntHash
<Model::Scene
*> *scenes
);
51 QString
toXml() const;
54 virtual void execute();
55 virtual void unexecute();