// 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();
string txt_after_ok;
private:
- void prepare_cached_values();
+ void prepare_cached_values(bool strip=true);
char *command;
};
#endif