summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-06-21 14:40:52 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-06-21 14:40:52 (GMT)
commit9c497686baab6005a12823d4e518059dd1d0417a (patch)
tree40327b32906ed7a2371c2ddd257d2acd48ef36ac /src
parent302a2868a56976b41f8ae08e3262173eedb0e216 (diff)
downloadeulogium-9c497686baab6005a12823d4e518059dd1d0417a.zip
eulogium-9c497686baab6005a12823d4e518059dd1d0417a.tar.gz
eulogium-9c497686baab6005a12823d4e518059dd1d0417a.tar.bz2
move print status data to print_data
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src')
-rw-r--r--src/eulogium.h28
-rw-r--r--src/print_data.h14
2 files changed, 14 insertions, 28 deletions
diff --git a/src/eulogium.h b/src/eulogium.h
index ee29cfe..67b58d4 100644
--- a/src/eulogium.h
+++ b/src/eulogium.h
@@ -27,34 +27,6 @@ enum screen_type {
END, /* sentinel */
};
-enum printer_status {
- UNKNOWN,
- DISCONNECTED,
- ERROR,
- FIRST_RUN_WIZZARD,
- IDLE,
- SLICING,
- HEATING,
- PRINTING,
- COOLING,
- WAIT_FOR_REMOVAL,
- PAUSED,
-};
-
-char *griffin_print_status[] = {
- "Unknown",
- "Disconnected",
- "Error",
- "First Run Wizard",
- "IDLE",
- "Slicing",
- "Heating",
- "Printing:",
- "Cooling down",
- "Wait for Removal",
- "Paused",
-};
-
struct printer_data {
enum printer_status status;
char **file_handlers;
diff --git a/src/print_data.h b/src/print_data.h
index 779c867..adebb20 100644
--- a/src/print_data.h
+++ b/src/print_data.h
@@ -25,4 +25,18 @@ struct print_data {
Eina_Bool block_active;
};
+enum printer_status {
+ UNKNOWN,
+ DISCONNECTED,
+ ERROR,
+ FIRST_RUN_WIZZARD,
+ IDLE,
+ SLICING,
+ HEATING,
+ PRINTING,
+ COOLING,
+ WAIT_FOR_REMOVAL,
+ PAUSED,
+};
+
#endif /* _PRINT_DATA_H */