From 2b5adf2b6c8c5fa44fec0a09c351a8b4954d06d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Dec 2010 19:23:09 +0000 Subject: Remove LearnRequest from public engine API. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2763 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/machina/Machine.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/engine/machina/Machine.hpp') 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 + * Copyright (C) 2007-2010 David Robillard * * 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 #include -#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); void remove_node(SharedPtr node); - void learn(SharedPtr learn); + void learn(SharedPtr maid, SharedPtr node); void write_state(Redland::Model& model); -- cgit v1.2.1