aboutsummaryrefslogtreecommitdiff
path: root/src/action.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-07-31 17:23:04 +0000
committerMike Buland <eichlan@xagasoft.com>2006-07-31 17:23:04 +0000
commitb672fa69c4c98509f8ee251b87300e3fcbe6bdc8 (patch)
tree064212cec710fc5bfd5f2b75dd2a502ba9f66eba /src/action.cpp
parent9139f1df4cda80b91ab68e5de27e85eaa4c54682 (diff)
downloadbuild-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.tar.gz
build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.tar.bz2
build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.tar.xz
build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.zip
We're almost to rule/command generation, then only a couple of steps before it
will do it all!
Diffstat (limited to 'src/action.cpp')
-rw-r--r--src/action.cpp10
1 files changed, 10 insertions, 0 deletions
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 @@
1#include "action.h" 1#include "action.h"
2#include "command.h" 2#include "command.h"
3#include "builder.h"
3 4
4Action::Action() : 5Action::Action() :
5 bDefault( true ), 6 bDefault( true ),
@@ -36,3 +37,12 @@ void Action::debug()
36 } 37 }
37} 38}
38 39
40void Action::execute( Builder &bld )
41{
42 for( std::list<Command *>::iterator i = lCommand.begin();
43 i != lCommand.end(); i++ )
44 {
45 (*i)->execute( bld );
46 }
47}
48