00001
00021
00022
00023
00024
00025 #ifndef __SYNFIG_APP_ACTION_TIMEPOINTSDELETE_H
00026 #define __SYNFIG_APP_ACTION_TIMEPOINTSDELETE_H
00027
00028
00029
00030 #include <synfigapp/action.h>
00031 #include <synfig/time.h>
00032 #include <synfig/layer.h>
00033 #include <synfig/canvas.h>
00034 #include <synfigapp/value_desc.h>
00035
00036
00037
00038
00039
00040
00041
00042 namespace synfigapp {
00043
00044 class Instance;
00045
00046 namespace Action {
00047
00048 class TimepointsDelete :
00049 public Super
00050 {
00051 private:
00052
00053
00054 std::vector<synfig::Layer::Handle> sel_layers;
00055 std::vector<synfig::Canvas::Handle> sel_canvases;
00056 std::vector<synfigapp::ValueDesc> sel_values;
00057 std::set<synfig::Time> sel_times;
00058
00059 public:
00060
00061 TimepointsDelete();
00062
00063 static ParamVocab get_param_vocab();
00064 static bool is_candidate(const ParamList &x);
00065
00066 virtual bool set_param(const synfig::String& name, const Param &);
00067 virtual bool is_ready()const;
00068
00069 virtual void prepare();
00070 virtual void perform();
00071
00072 ACTION_MODULE_EXT
00073 };
00074
00075 };
00076 };
00077
00078
00079
00080 #endif