aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina/LearnRequest.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-05 17:06:53 +0000
committerDavid Robillard <d@drobilla.net>2007-04-05 17:06:53 +0000
commit4541e87aa843dd97c542f7c66fcbc0a16ffbcee5 (patch)
treeb78b2bc374e62401df6e6e5d3d250d1845053ec4 /src/engine/machina/LearnRequest.hpp
parent0123cdeacc9acc7ca16fa8b0a9dee7a5d916b7df (diff)
downloadmachina-4541e87aa843dd97c542f7c66fcbc0a16ffbcee5.tar.gz
machina-4541e87aa843dd97c542f7c66fcbc0a16ffbcee5.tar.bz2
machina-4541e87aa843dd97c542f7c66fcbc0a16ffbcee5.zip
Code cleanups.
git-svn-id: http://svn.drobilla.net/lad/machina@399 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina/LearnRequest.hpp')
-rw-r--r--src/engine/machina/LearnRequest.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/machina/LearnRequest.hpp b/src/engine/machina/LearnRequest.hpp
index 9284e90..20c02e5 100644
--- a/src/engine/machina/LearnRequest.hpp
+++ b/src/engine/machina/LearnRequest.hpp
@@ -43,10 +43,12 @@ public:
return ret;
}
+ void start(double q, BeatTime time)
+ { _started = true; _start_time = time; _quantization = q; }
+
void finish(BeatTime time);
-
- void start(double q, BeatTime time) { _started = true; _start_time = time; _quantization = q; }
- bool started() { return _started; }
+
+ bool started() { return _started; }
const SharedPtr<Node>& node() { return _node; }
const SharedPtr<MidiAction>& enter_action() { return _enter_action; }