aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Action.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Action.hpp')
-rw-r--r--src/engine/Action.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/engine/Action.hpp b/src/engine/Action.hpp
index f954a39..7397eaa 100644
--- a/src/engine/Action.hpp
+++ b/src/engine/Action.hpp
@@ -21,9 +21,8 @@
#include <string>
#include <iostream>
-#include "raul/SharedPtr.hpp"
+#include "raul/Maid.hpp"
#include "raul/TimeSlice.hpp"
-#include "raul/Manageable.hpp"
#include "machina/types.hpp"
@@ -35,15 +34,14 @@ namespace Machina {
/** An Action, executed on entering or exiting of a state.
*/
struct Action
- : public Raul::Manageable
- , public Stateful {
+ : public Raul::Maid::Manageable
+ , public Stateful {
virtual void execute(MIDISink* sink, Raul::TimeStamp time) = 0;
virtual void write_state(Sord::Model& model);
};
-class PrintAction
- : public Action
+class PrintAction : public Action
{
public:
PrintAction(const std::string& msg)