aboutsummaryrefslogtreecommitdiff
path: root/src/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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