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

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