00001 #include <string> 00002 #include "Cmd_test.h" 00003 00004 00005 Cmd_test::~Cmd_test() 00006 { 00007 } 00008 00009 void Cmd_test::help(){ // What to print out if a help request in needed. 00010 std::cout << "Prints a string." << std::endl << "Syntax: test [parameter1]" << std::endl; 00011 } 00012 00013 void Cmd_test::execute(void){ // Actual implemetation of the command. 00014 std::cout << "This is a test command." << std::endl 00015 << "The parameters you entered: " << this->getParam(1,true); 00016 }