Blame synfig-studio/src/synfigapp/actions/layeraddframe.h

14e74e
/* === S Y N F I G ========================================================= */
64e779
/*!	\file layeraddframe.h
14e74e
**	\brief Template File
14e74e
**
14e74e
**	$Id$
14e74e
**
14e74e
**	\legal
14e74e
**	......... ... 2014 Ivan Mahonin
14e74e
**
14e74e
**	This package is free software; you can redistribute it and/or
14e74e
**	modify it under the terms of the GNU General Public License as
14e74e
**	published by the Free Software Foundation; either version 2 of
14e74e
**	the License, or (at your option) any later version.
14e74e
**
14e74e
**	This package is distributed in the hope that it will be useful,
14e74e
**	but WITHOUT ANY WARRANTY; without even the implied warranty of
14e74e
**	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14e74e
**	General Public License for more details.
14e74e
**	\endlegal
14e74e
*/
14e74e
/* ========================================================================= */
14e74e
14e74e
/* === S T A R T =========================================================== */
14e74e
64e779
#ifndef __SYNFIG_APP_ACTION_LAYERADDFRAME_H
64e779
#define __SYNFIG_APP_ACTION_LAYERADDFRAME_H
14e74e
14e74e
/* === H E A D E R S ======================================================= */
14e74e
14e74e
#include <synfig layer.h=""></synfig>
Diego Barrios Romero dcc14d
#include <synfig layer_switch.h="" layers=""></synfig>
14e74e
#include <synfigapp action.h=""></synfigapp>
14e74e
#include <list></list>
14e74e
#include <synfig guid.h=""></synfig>
14e74e
14e74e
/* === M A C R O S ========================================================= */
14e74e
14e74e
/* === T Y P E D E F S ===================================================== */
14e74e
14e74e
/* === C L A S S E S & S T R U C T S ======================================= */
14e74e
14e74e
namespace synfigapp {
14e74e
14e74e
namespace Action {
14e74e
64e779
class LayerAddFrame :
14e74e
	public Super
14e74e
{
14e74e
private:
14e74e
	synfig::Time time;
14e74e
	etl::handle<synfig::layer_switch> layer_switch;</synfig::layer_switch>
64e779
	synfig::Layer::Handle layer_base;
14e74e
14e74e
public:
14e74e
64e779
	LayerAddFrame();
14e74e
14e74e
	static ParamVocab get_param_vocab();
14e74e
	static bool is_candidate(const ParamList &x);
14e74e
14e74e
	virtual bool set_param(const synfig::String& name, const Param &);
14e74e
	virtual bool is_ready()const;
14e74e
14e74e
	virtual void prepare();
14e74e
14e74e
	ACTION_MODULE_EXT
14e74e
};
14e74e
14e74e
}; // END of namespace action
14e74e
}; // END of namespace studio
14e74e
14e74e
/* === E N D =============================================================== */
14e74e
14e74e
#endif