Commit | Line | Data |
---|---|---|
4cff3ded AW |
1 | #ifndef GCODE_H |
2 | #define GCODE_H | |
3 | #include <string> | |
4 | using std::string; | |
5 | // Object to represent a Gcode comman | |
6 | ||
7 | class Gcode { | |
8 | public: | |
9 | Gcode(); | |
10 | bool has_letter( char letter ); | |
11 | double get_value ( char letter ); | |
12 | ||
13 | string command; | |
436a2cd1 AW |
14 | double millimeters_of_travel; |
15 | bool call_on_gcode_execute_event_immediatly; | |
16 | bool on_gcode_execute_event_called; | |
2bb8b390 | 17 | |
4cff3ded AW |
18 | }; |
19 | #endif |