1234567891011121314151617181920 |
- #include "TestCommand.h"
- TestCommand::TestCommand() : BaseCommand("test")
- {
- }
- TestCommand::~TestCommand()
- {
- cout << "destroy test command" << endl;
- }
- void TestCommand::execute(ICommandSource& cs, vector<string>& args) const
- {
- cout << "test command" << endl;
- for(int i = 0; i < args.size(); i++)
- {
- cout << " - " << args[i] << endl;
- }
- }
|