From b672fa69c4c98509f8ee251b87300e3fcbe6bdc8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 31 Jul 2006 17:23:04 +0000 Subject: We're almost to rule/command generation, then only a couple of steps before it will do it all! --- src/action.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/action.cpp') diff --git a/src/action.cpp b/src/action.cpp index c594792..8907816 100644 --- a/src/action.cpp +++ b/src/action.cpp @@ -1,5 +1,6 @@ #include "action.h" #include "command.h" +#include "builder.h" Action::Action() : bDefault( true ), @@ -36,3 +37,12 @@ void Action::debug() } } +void Action::execute( Builder &bld ) +{ + for( std::list::iterator i = lCommand.begin(); + i != lCommand.end(); i++ ) + { + (*i)->execute( bld ); + } +} + -- cgit v1.2.3