Rumba C++ SDK
CustomAction.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/Maquina.h"
18 
19 namespace maquina
20 {
21  // Custom Action node
23  {
24  public:
25  CustomAction() = default;
26  virtual ~CustomAction() = default;
27 
28  virtual void undo() = 0;
29  virtual void redo() = 0;
30  };
31 }
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
MAQUINA_EXPORT void undo()
Make a undo step.
Definition: CustomAction.h:22