X-Git-Url: https://git.hcoop.net/clinton/Smoothieware.git/blobdiff_plain/43c443ef5653075f1353e0eaee67269ba8c4194f..aae5a789412dc27bb5956c8109a3b9881973b77b:/src/modules/communication/utils/Gcode.h diff --git a/src/modules/communication/utils/Gcode.h b/src/modules/communication/utils/Gcode.h index 435404b9..029c964f 100644 --- a/src/modules/communication/utils/Gcode.h +++ b/src/modules/communication/utils/Gcode.h @@ -16,7 +16,7 @@ class StreamOutput; // Object to represent a Gcode command class Gcode { public: - Gcode(const string&, StreamOutput*); + Gcode(const string&, StreamOutput*, bool strip=true); Gcode(const Gcode& to_copy); Gcode& operator= (const Gcode& to_copy); ~Gcode(); @@ -45,7 +45,7 @@ class Gcode { string txt_after_ok; private: - void prepare_cached_values(); + void prepare_cached_values(bool strip=true); char *command; }; #endif