From 902b36c98d0a62080730cebc045033c36d671f57 Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Fri, 24 Apr 2015 17:10:30 +0200 Subject: 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 --- src/eulogium.h | 11 +++++++++-- 1 file 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; }; -- cgit v0.12