From bae6192c54533e8da95d8ae1ed4d4eccee28c39a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Dec 2011 10:27:38 -0700 Subject: Getting close to realy running. --- src/commandset.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/commandset.cpp (limited to 'src/commandset.cpp') diff --git a/src/commandset.cpp b/src/commandset.cpp new file mode 100644 index 0000000..ffd58a5 --- /dev/null +++ b/src/commandset.cpp @@ -0,0 +1,21 @@ +#include "commandset.h" + +#include "command.h" + +CommandSet::CommandSet() +{ +} + +CommandSet::~CommandSet() +{ + for( CommandList::iterator i = lCommand.begin(); i; i++ ) + { + delete (*i); + } +} + +void CommandSet::addCommand( class Command *pCmd ) +{ + lCommand.append( pCmd ); +} + -- cgit v1.2.3