You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
- #include "common.hpp"
-
-
- namespace rack {
- namespace history {
-
-
- struct Action {
- virtual ~Action() {}
- virtual void commit() {}
- virtual void commitInverse() {}
- };
-
-
-
- struct State {
- void push(Action *action);
- void undo();
- void redo();
- };
-
-
- } // namespace history
- } // namespace rack
|