diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 10:27:38 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 10:27:38 -0700 |
commit | bae6192c54533e8da95d8ae1ed4d4eccee28c39a (patch) | |
tree | f27b03b518894420992ad1a3ed3ee1a07935ca4b /src/commandset.cpp | |
parent | 550d4f13ace49e3d442e43d46cd066f174709400 (diff) | |
download | stage-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.cpp | 21 |
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 | |||
5 | CommandSet::CommandSet() | ||
6 | { | ||
7 | } | ||
8 | |||
9 | CommandSet::~CommandSet() | ||
10 | { | ||
11 | for( CommandList::iterator i = lCommand.begin(); i; i++ ) | ||
12 | { | ||
13 | delete (*i); | ||
14 | } | ||
15 | } | ||
16 | |||
17 | void CommandSet::addCommand( class Command *pCmd ) | ||
18 | { | ||
19 | lCommand.append( pCmd ); | ||
20 | } | ||
21 | |||