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 "Maquina.h"
18 #include "Kernel/PlugPath.h"
19 
20 namespace maquina
21 {
22  // Remove Curve custom action to deregister the AnimCurve from the KeyReducer
24  {
25  public:
26  RemoveCurveAction(const std::string& anim_curve_node_path, const std::string& layer_path);
27 
28  void undo() final;
29  void redo() final;
30 
31  private:
32  std::string _anim_curve_node_path;
33  std::string _layer_path;
34  };
35 }
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:23
MAQUINA_EXPORT void undo()
Make a undo step.
Definition: CustomAction.h:22