aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina/LearnRequest.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-06 19:06:54 +0000
committerDavid Robillard <d@drobilla.net>2007-12-06 19:06:54 +0000
commit33e9991326a1cd90a4956f3221f5a48d03d5af89 (patch)
treec0367028d619b64e6dfcaf64cf68b158031a5d0d /src/engine/machina/LearnRequest.hpp
parentd0dbdee864a3d38e385906cf05c03fe4c264f5d8 (diff)
downloadmachina-33e9991326a1cd90a4956f3221f5a48d03d5af89.tar.gz
machina-33e9991326a1cd90a4956f3221f5a48d03d5af89.tar.bz2
machina-33e9991326a1cd90a4956f3221f5a48d03d5af89.zip
Added missing files.
git-svn-id: http://svn.drobilla.net/lad/machina@956 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina/LearnRequest.hpp')
-rw-r--r--src/engine/machina/LearnRequest.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/machina/LearnRequest.hpp b/src/engine/machina/LearnRequest.hpp
index 4ec22ff..f6bc60f 100644
--- a/src/engine/machina/LearnRequest.hpp
+++ b/src/engine/machina/LearnRequest.hpp
@@ -58,9 +58,11 @@ private:
LearnRequest(SharedPtr<Raul::Maid> maid, SharedPtr<Node> node)
: _started(false)
, _node(node)
- , _enter_action(MidiAction::create(maid, 4, NULL))
- , _exit_action(MidiAction::create(maid, 4, NULL))
+ , _enter_action(new MidiAction(4, NULL))
+ , _exit_action(new MidiAction(4, NULL))
{
+ maid->manage(_enter_action);
+ maid->manage(_exit_action);
}
bool _started;