diff options
author | David Robillard <d@drobilla.net> | 2010-12-18 19:23:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-18 19:23:09 +0000 |
commit | 2b5adf2b6c8c5fa44fec0a09c351a8b4954d06d4 (patch) | |
tree | 397270f19e309e49fce1e372f4f029f3667e9321 /src/engine/machina/Machine.hpp | |
parent | 4fcb110d5ff7cf834e305c12023006caa0bce3bd (diff) | |
download | machina-2b5adf2b6c8c5fa44fec0a09c351a8b4954d06d4.tar.gz machina-2b5adf2b6c8c5fa44fec0a09c351a8b4954d06d4.tar.bz2 machina-2b5adf2b6c8c5fa44fec0a09c351a8b4954d06d4.zip |
Remove LearnRequest from public engine API.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2763 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina/Machine.hpp')
-rw-r--r-- | src/engine/machina/Machine.hpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/engine/machina/Machine.hpp b/src/engine/machina/Machine.hpp index 1d07a2c..8c1caf3 100644 --- a/src/engine/machina/Machine.hpp +++ b/src/engine/machina/Machine.hpp @@ -1,5 +1,5 @@ /* This file is part of Machina. - * Copyright (C) 2007-2009 David Robillard <http://drobilla.net> + * Copyright (C) 2007-2010 David Robillard <http://drobilla.net> * * Machina is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software @@ -20,17 +20,20 @@ #include <vector> #include <boost/utility.hpp> -#include "raul/SharedPtr.hpp" -#include "raul/WeakPtr.hpp" + #include "raul/List.hpp" +#include "raul/Maid.hpp" +#include "raul/SharedPtr.hpp" #include "raul/TimeSlice.hpp" +#include "raul/WeakPtr.hpp" #include "redlandmm/Model.hpp" + #include "types.hpp" -#include "LearnRequest.hpp" #include "Node.hpp" namespace Machina { +class LearnRequest; /** A (Finite State) Machine. */ @@ -54,7 +57,7 @@ public: void add_node(SharedPtr<Node> node); void remove_node(SharedPtr<Node> node); - void learn(SharedPtr<LearnRequest> learn); + void learn(SharedPtr<Raul::Maid> maid, SharedPtr<Node> node); void write_state(Redland::Model& model); |