X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=command.hpp;h=b6bf5cd397644ad215a8a88f269f461d04add112;hb=2431fce75705f16d6d7cab7a6f5fe02051d82ca5;hp=3e655abb19ed35729792e3f5783f119095c6fc61;hpb=0470f6d037aacb3563c3f7010708120a4a67d4e6;p=mothur.git diff --git a/command.hpp b/command.hpp index 3e655ab..b6bf5cd 100644 --- a/command.hpp +++ b/command.hpp @@ -10,17 +10,23 @@ * */ -/*This class is a parent to all the command classes. It has one pure int execute(). */ +/*This class is a parent to all the command classes. */ #include "mothur.h" #include "optionparser.h" #include "validparameter.h" +#include "mothurout.h" class Command { + public: + Command() { m = MothurOut::getInstance(); } virtual int execute() = 0; virtual void help() = 0; + virtual ~Command() { } + protected: + MothurOut* m; }; #endif