00001 /* === S Y N F I G ========================================================= */ 00022 /* ========================================================================= */ 00023 00024 /* === S T A R T =========================================================== */ 00025 00026 #ifndef __SYNFIG_APP_ACTION_WAYPOINTDISCONNECT_H 00027 #define __SYNFIG_APP_ACTION_WAYPOINTDISCONNECT_H 00028 00029 /* === H E A D E R S ======================================================= */ 00030 00031 #include <synfig/valuenode.h> 00032 #include <synfigapp/action.h> 00033 00034 /* === M A C R O S ========================================================= */ 00035 00036 /* === T Y P E D E F S ===================================================== */ 00037 00038 /* === C L A S S E S & S T R U C T S ======================================= */ 00039 00040 namespace synfigapp { 00041 00042 class Instance; 00043 00044 namespace Action { 00045 00046 class WaypointDisconnect : 00047 public Undoable, 00048 public CanvasSpecific 00049 { 00050 private: 00051 00052 synfig::ValueNode_Animated::Handle parent_value_node; 00053 synfig::ValueNode::Handle old_value_node; 00054 synfig::Time waypoint_time; 00055 synfig::Time time; 00056 bool waypoint_time_set; 00057 bool time_set; 00058 00059 public: 00060 00061 WaypointDisconnect(); 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 perform(); 00070 virtual void undo(); 00071 00072 ACTION_MODULE_EXT 00073 }; 00074 00075 }; // END of namespace action 00076 }; // END of namespace studio 00077 00078 /* === E N D =============================================================== */ 00079 00080 #endif