X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=engine.hpp;h=460e245bf5312d81f5b15d70387cf9ec63d472f6;hb=3914b0d6480f67df53b1e838f51c4e6155710434;hp=0020a7f8d9d83a24b5b24c60fb0f86263edd5e44;hpb=84f93a9e670eb7f7e69e0468b9be4c53890c07f2;p=mothur.git diff --git a/engine.hpp b/engine.hpp index 0020a7f..460e245 100644 --- a/engine.hpp +++ b/engine.hpp @@ -13,14 +13,11 @@ #include "mothur.h" -#include "globaldata.hpp" #include "commandoptionparser.hpp" #include "command.hpp" #include "commandfactory.hpp" #include "mothurout.h" -class GlobalData; - class Engine { public: Engine(); @@ -47,8 +44,8 @@ public: virtual bool getInput(); int openedBatch; private: - GlobalData* globaldata; ifstream inputBatchFile; + string getNextCommand(ifstream&); }; @@ -60,7 +57,7 @@ public: ~InteractEngine(); virtual bool getInput(); private: - GlobalData* globaldata; + }; @@ -71,7 +68,6 @@ public: virtual bool getInput(); int openedBatch; private: - GlobalData* globaldata; string listOfCommands; string getNextCommand(string&);