aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/tray/host.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-12-07 12:33:45 +0000
committerIan Fan <ianfan0@gmail.com>2018-12-31 20:40:18 +0000
commite6cb55e2f8176b0ea8a6dbf15c728c56d8b74056 (patch)
tree5de223965d04be7bf2835e0ca391426185494261 /include/swaybar/tray/host.h
parent746600e6ed562db9395ac790b7749624006d80ad (diff)
swaybar: add StatusNotifierHost to tray
Diffstat (limited to 'include/swaybar/tray/host.h')
-rw-r--r--include/swaybar/tray/host.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/swaybar/tray/host.h b/include/swaybar/tray/host.h
new file mode 100644
index 00000000..2d4cf82b
--- /dev/null
+++ b/include/swaybar/tray/host.h
@@ -0,0 +1,17 @@
+#ifndef _SWAYBAR_TRAY_HOST_H
+#define _SWAYBAR_TRAY_HOST_H
+
+#include <stdbool.h>
+
+struct swaybar_tray;
+
+struct swaybar_host {
+ struct swaybar_tray *tray;
+ char *service;
+ char *watcher_interface;
+};
+
+bool init_host(struct swaybar_host *host, char *protocol, struct swaybar_tray *tray);
+void finish_host(struct swaybar_host *host);
+
+#endif