Rumba C++ SDK
RemoveCurveAction.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2022
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include "CustomAction.h"
18 
19 namespace maquina
20 {
21  // Remove Curve custom action to deregister the AnimCurve from the KeyReducer
23  {
24  public:
25  RemoveCurveAction(const std::string& anim_curve_node_path, const std::string& layer_path);
26 
27  void undo() final;
28  void redo() final;
29 
30  private:
31  std::string _anim_curve_node_path;
32  std::string _layer_path;
33  };
34 }
MAQUINA_EXPORT void redo()
Make a redo step.
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
#define MAQUINA_EXPORT
Definition: Export.h:31
Definition: RemoveCurveAction.h:22
MAQUINA_EXPORT void undo()
Make a undo step.
Definition: CustomAction.h:22