summaryrefslogtreecommitdiff
path: root/src/commandset.cpp
diff options
context:
space:
mode:
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