summaryrefslogtreecommitdiffstats
path: root/src/procedures.h
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-06-17 06:16:02 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-06-17 06:16:02 (GMT)
commit3c4628905960bf3217f84f81f3c213bd15be695c (patch)
treee5395c7dc38022fda4422c8e376f43ce65ff113d /src/procedures.h
parent58678161dffd48c7ecfaedf8aa8a49ec118defe4 (diff)
downloadeulogium-3c4628905960bf3217f84f81f3c213bd15be695c.zip
eulogium-3c4628905960bf3217f84f81f3c213bd15be695c.tar.gz
eulogium-3c4628905960bf3217f84f81f3c213bd15be695c.tar.bz2
[griffin.hmi] get procedures to compile
this is a broken commit, procedures are broken and compiling is broken atm. This is a wip commit. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src/procedures.h')
-rw-r--r--src/procedures.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/procedures.h b/src/procedures.h
new file mode 100644
index 0000000..76e4adc
--- /dev/null
+++ b/src/procedures.h
@@ -0,0 +1,30 @@
+/*
+ * eulogium_procedures, available procedures
+ *
+ * Copyright (c) 2015 Ultimaker B.V.
+ * Author: Olliver Schinagl <o.schinagl@ultimaker.com>
+ *
+ * SPDX-License-Identifier: AGPL-3.0+
+ */
+
+#ifndef _EULOGIUM_PROCEDURES_H
+#define _EULOGIUM_PROCEDURES_H
+
+#include <Eina.h>
+#include <Eldbus.h>
+#include <stdint.h>
+
+#include "print_data.h"
+
+struct procedure_data {
+ char *key;
+ uint_fast16_t keylen;
+ Eina_Bool available;
+ Eina_Bool executable;
+ char steps[];
+};
+
+struct procedure_data *procedures_init(void);
+void procedure_start_print(Eldbus_Proxy *proxy, struct print_data *print);
+
+#endif /* _EULOGIUM_PRIVATE_H */