]> git.donarmstrong.com Git - mothur.git/blobdiff - quitcommand.h
some alterations to chimera.slayer
[mothur.git] / quitcommand.h
index c54e7f27abfaafcc791b6c0895209a6c7a96393d..e24bb775aa89ec31f7db5135ecb9952d570a2fb9 100644 (file)
@@ -9,7 +9,6 @@
  *
  */
 
-#include <Carbon/Carbon.h>
 #include "command.hpp"
 
 /* The quit() command:
 class QuitCommand : public Command {
        
 public:
-       QuitCommand();
+       QuitCommand(string);
+       QuitCommand() {}
        ~QuitCommand();
-       int execute();
+       
+       vector<string> setParameters()  { return outputNames;   } //dummy, doesn't really do anything   
+       string getCommandName()                 { return "quit";                }
+       string getCommandCategory()             { return "Hidden";              }
+       string getHelpString() { return "The quit command will terminate mothur and should be in the following format: quit() or quit. \n"; }   
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
        
 private:
-               
+       bool abort;
+       vector<string> outputNames;
 };
-#endif
\ No newline at end of file
+
+#endif