diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-24 15:10:30 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-28 05:07:16 (GMT) |
commit | 902b36c98d0a62080730cebc045033c36d671f57 (patch) | |
tree | 84214f8d7a6ed9081b2eb2ff8d81a1d3a5dedd0a | |
parent | 4e8a47dcf50f72c84acecda017174926991bde52 (diff) | |
download | eulogium-902b36c98d0a62080730cebc045033c36d671f57.zip eulogium-902b36c98d0a62080730cebc045033c36d671f57.tar.gz eulogium-902b36c98d0a62080730cebc045033c36d671f57.tar.bz2 |
remove const for the file and name pointers, we can not free them anymore. Also add a file_type enum
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
-rw-r--r-- | src/eulogium.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/eulogium.h b/src/eulogium.h index 208d9eb..e5b8b9d 100644 --- a/src/eulogium.h +++ b/src/eulogium.h @@ -14,14 +14,21 @@ enum screen_type { PROGRESS, END, /* sentinel */ }; + +enum file_type { + GCODE, + STL, + OBJ, + AMF }; struct print_data { Evas_Object *progress; Evas_Object *status; uint_fast32_t *time; - const char *file; - const char *name; + char *file; + char *name; + enum file_type type; float material; }; |