diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-24 15:11:34 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-28 05:07:16 (GMT) |
commit | 343f54aecc7109969d264a122b2fa722d25c9054 (patch) | |
tree | 8c46e4c47969335d258c6122b8eca7c91fbeeb02 /src/eulogium.h | |
parent | 902b36c98d0a62080730cebc045033c36d671f57 (diff) | |
download | eulogium-343f54aecc7109969d264a122b2fa722d25c9054.zip eulogium-343f54aecc7109969d264a122b2fa722d25c9054.tar.gz eulogium-343f54aecc7109969d264a122b2fa722d25c9054.tar.bz2 |
Initial dbus support
This patch adds initial dbus support for 3 interfaces for griffin;
printer, led and harma.
This interfaces are unused for now.
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src/eulogium.h')
-rw-r--r-- | src/eulogium.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/eulogium.h b/src/eulogium.h index e5b8b9d..b8b7089 100644 --- a/src/eulogium.h +++ b/src/eulogium.h @@ -32,10 +32,17 @@ struct print_data { float material; }; +enum proxy_idx { + HARMA, + LED, + PRINTER, + LAST /* sentinel */ +}; + struct dbus_data { Eldbus_Connection *conn; Eldbus_Pending *pending; - Eldbus_Proxy *proxy; + Eldbus_Proxy *proxy[LAST]; }; struct eulogium_data { |