#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 ); }