X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fsynfigstudio_%40VERSION_MAJ%40_%40VERSION_MIN%40_%40VERSION_REV%40%2Fsrc%2Fsynfigapp%2Factions%2Flayerremove.h;fp=synfig-studio%2Ftags%2Fsynfigstudio_%40VERSION_MAJ%40_%40VERSION_MIN%40_%40VERSION_REV%40%2Fsrc%2Fsynfigapp%2Factions%2Flayerremove.h;h=0000000000000000000000000000000000000000;hb=aadb96df9b7cc6aaad86946cb009f2ee76398349;hp=0048005a5833d437c3428e3d61c7e43c717420e6;hpb=7709250e1d6a698bdd72253219c498bf5b24e7f1;p=synfig.git diff --git a/synfig-studio/tags/synfigstudio_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@/src/synfigapp/actions/layerremove.h b/synfig-studio/tags/synfigstudio_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@/src/synfigapp/actions/layerremove.h deleted file mode 100644 index 0048005..0000000 --- a/synfig-studio/tags/synfigstudio_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@/src/synfigapp/actions/layerremove.h +++ /dev/null @@ -1,78 +0,0 @@ -/* === S Y N F I G ========================================================= */ -/*! \file layerremove.h -** \brief Template File -** -** $Id$ -** -** \legal -** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** -** This package is free software; you can redistribute it and/or -** modify it under the terms of the GNU General Public License as -** published by the Free Software Foundation; either version 2 of -** the License, or (at your option) any later version. -** -** This package is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** General Public License for more details. -** \endlegal -*/ -/* ========================================================================= */ - -/* === S T A R T =========================================================== */ - -#ifndef __SYNFIG_APP_ACTION_LAYERREMOVE_H -#define __SYNFIG_APP_ACTION_LAYERREMOVE_H - -/* === H E A D E R S ======================================================= */ - -#include -#include -#include - -/* === M A C R O S ========================================================= */ - -/* === T Y P E D E F S ===================================================== */ - -/* === C L A S S E S & S T R U C T S ======================================= */ - -namespace synfigapp { - -class Instance; - -namespace Action { - -class LayerRemove : - public Undoable, - public CanvasSpecific -{ -private: - - std::list > layer_list; - - //synfig::Layer::Handle layer; - //int depth; - -public: - - LayerRemove(); - - static ParamVocab get_param_vocab(); - static bool is_candidate(const ParamList &x); - - virtual bool set_param(const synfig::String& name, const Param &); - virtual bool is_ready()const; - - virtual void perform(); - virtual void undo(); - - ACTION_MODULE_EXT -}; - -}; // END of namespace action -}; // END of namespace studio - -/* === E N D =============================================================== */ - -#endif