synfig-studio  1.0.3
layerembed.h
Go to the documentation of this file.
1 /* === S Y N F I G ========================================================= */
21 /* ========================================================================= */
22 
23 /* === S T A R T =========================================================== */
24 
25 #ifndef __SYNFIG_APP_ACTION_LAYEREMBED_H
26 #define __SYNFIG_APP_ACTION_LAYEREMBED_H
27 
28 /* === H E A D E R S ======================================================= */
29 
30 #include <synfig/layer.h>
31 #include <synfig/layers/layer_pastecanvas.h>
32 #include <synfigapp/action.h>
33 
34 /* === M A C R O S ========================================================= */
35 
36 /* === T Y P E D E F S ===================================================== */
37 
38 /* === C L A S S E S & S T R U C T S ======================================= */
39 
40 namespace synfigapp {
41 
42 class Instance;
43 
44 namespace Action {
45 
46 class LayerEmbed :
47  public Super
48 {
49 private:
50  etl::handle<synfig::Layer_PasteCanvas> layer_pastecanvas;
51  etl::handle<synfig::Layer> layer_import;
52 
53 public:
54  static ParamVocab get_param_vocab();
55  static bool is_candidate(const ParamList &x);
56 
57  virtual bool set_param(const synfig::String& name, const Param &);
58  virtual bool is_ready()const;
59 
60  virtual void prepare();
61 
63 };
64 
65 }; // END of namespace action
66 }; // END of namespace studio
67 
68 /* === E N D =============================================================== */
69 
70 #endif