]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.h
added compile time default path
[mothur.git] / mothurout.h
index bf356ae285fba010f41f2bbc51b9ce093ead1b1b..1b89caf933ea4c436743ac992206904e36b51d9e 100644 (file)
@@ -25,18 +25,22 @@ class MothurOut {
                void mothurOutJustToLog(string);
                void errorOut(exception&, string, string);
                void closeLog();
+               string getDefaultPath() { return defaultPath; }
+               void setDefaultPath(string);
 
                int control_pressed;
                bool executing;
+               
 
        private:
                static MothurOut* _uniqueInstance;
                MothurOut( const MothurOut& ); // Disable copy constructor
                void operator=( const MothurOut& ); // Disable assignment operator
-               MothurOut() { control_pressed = false; };
+               MothurOut() { control_pressed = false; defaultPath=""; };
                ~MothurOut();
 
                string logFileName;
+               string defaultPath;
                ofstream out;
                
                int mem_usage(double&, double&);