aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MacroCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/MacroCommand.cc')
-rw-r--r--src/FbTk/MacroCommand.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbTk/MacroCommand.cc b/src/FbTk/MacroCommand.cc
index 5e82fec..d655099 100644
--- a/src/FbTk/MacroCommand.cc
+++ b/src/FbTk/MacroCommand.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: MacroCommand.cc,v 1.1 2003/01/11 01:09:24 fluxgen Exp $ 22// $Id: MacroCommand.cc,v 1.2 2003/09/29 14:00:46 fluxgen Exp $
23 23
24#include "MacroCommand.hh" 24#include "MacroCommand.hh"
25 25
@@ -29,6 +29,10 @@ void MacroCommand::add(RefCount<Command> &com) {
29 m_commandlist.push_back(com); 29 m_commandlist.push_back(com);
30} 30}
31 31
32unsigned int MacroCommand::size() const {
33 return m_commandlist.size();
34}
35
32void MacroCommand::execute() { 36void MacroCommand::execute() {
33 for (size_t i=0; i < m_commandlist.size(); ++i) 37 for (size_t i=0; i < m_commandlist.size(); ++i)
34 m_commandlist[i]->execute(); 38 m_commandlist[i]->execute();