summaryrefslogtreecommitdiffstats
path: root/src/eulogium.h
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-05-08 11:40:29 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-05-08 11:44:45 (GMT)
commit74e3678941097e1dbdebb49a462b08984078eda1 (patch)
tree3e101f515da45b9fa73a81ae3602a582713551b2 /src/eulogium.h
parent208e499dda9d68cb7dcccdeb4630ca471099361e (diff)
downloadeulogium-74e3678941097e1dbdebb49a462b08984078eda1.zip
eulogium-74e3678941097e1dbdebb49a462b08984078eda1.tar.gz
eulogium-74e3678941097e1dbdebb49a462b08984078eda1.tar.bz2
Add progress update timer for print-progress
While we poll the remaining time with griffin.printer, griffin.printer doesn't know this yet, so results are untested and may not work. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src/eulogium.h')
-rw-r--r--src/eulogium.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eulogium.h b/src/eulogium.h
index 833e712..cae6200 100644
--- a/src/eulogium.h
+++ b/src/eulogium.h
@@ -56,6 +56,7 @@ struct print_data {
double progress;
char *file;
char *name;
+ Eina_Bool name_changed;
char *flags;
enum file_type type;
double material;
@@ -76,8 +77,11 @@ struct dbus_data {
struct eulogium_data {
Evas_Object *navi;
+ Evas_Object *time;
+ Evas_Object *name;
Evas_Object *status;
Evas_Object *progress;
+ Ecore_Timer *progress_data_refresh;
struct printer_data printer;
struct print_data print;
struct dbus_data dbus;