diff options
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); |