diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-31 17:23:04 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-31 17:23:04 +0000 |
commit | b672fa69c4c98509f8ee251b87300e3fcbe6bdc8 (patch) | |
tree | 064212cec710fc5bfd5f2b75dd2a502ba9f66eba /src/action.cpp | |
parent | 9139f1df4cda80b91ab68e5de27e85eaa4c54682 (diff) | |
download | build-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.cpp | 10 |
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 | ||
4 | Action::Action() : | 5 | Action::Action() : |
5 | bDefault( true ), | 6 | bDefault( true ), |
@@ -36,3 +37,12 @@ void Action::debug() | |||
36 | } | 37 | } |
37 | } | 38 | } |
38 | 39 | ||
40 | void 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 | |||