summaryrefslogtreecommitdiff
path: root/src/commandset.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-29 10:27:38 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-29 10:27:38 -0700
commitbae6192c54533e8da95d8ae1ed4d4eccee28c39a (patch)
treef27b03b518894420992ad1a3ed3ee1a07935ca4b /src/commandset.cpp
parent550d4f13ace49e3d442e43d46cd066f174709400 (diff)
downloadstage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.tar.gz
stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.tar.bz2
stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.tar.xz
stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.zip
Getting close to realy running.
Diffstat (limited to 'src/commandset.cpp')
-rw-r--r--src/commandset.cpp21
1 files changed, 21 insertions, 0 deletions
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 @@
1#include "commandset.h"
2
3#include "command.h"
4
5CommandSet::CommandSet()
6{
7}
8
9CommandSet::~CommandSet()
10{
11 for( CommandList::iterator i = lCommand.begin(); i; i++ )
12 {
13 delete (*i);
14 }
15}
16
17void CommandSet::addCommand( class Command *pCmd )
18{
19 lCommand.append( pCmd );
20}
21