aboutsummaryrefslogtreecommitdiff
path: root/systray/helpers.h
diff options
context:
space:
mode:
authorJoshua Yun <joshua@joshuayun.com>2025-03-12 01:28:59 -0500
committerJoshua Yun <joshua@joshuayun.com>2025-03-12 01:28:59 -0500
commit3dc4dcc4ca0dee958a56f43e8a635a6d961e7ccc (patch)
treea8c5c08ada9f149d5cd0839b0dfd83d4630aa4eb /systray/helpers.h
parentdf6d37936bac129d1fd7098cdd37f0cf44f1d4f5 (diff)
downloaddwl-3dc4dcc4ca0dee958a56f43e8a635a6d961e7ccc.tar.gz
Systray patch
Diffstat (limited to 'systray/helpers.h')
-rw-r--r--systray/helpers.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/systray/helpers.h b/systray/helpers.h
new file mode 100644
index 0000000..2c592e0
--- /dev/null
+++ b/systray/helpers.h
@@ -0,0 +1,12 @@
+#ifndef HELPERS_H
+#define HELPERS_H
+
+#include <dbus/dbus.h>
+
+typedef void (*PropHandler)(DBusPendingCall *pcall, void *data);
+
+int request_property (DBusConnection *conn, const char *busname,
+ const char *busobj, const char *prop, const char *iface,
+ PropHandler handler, void *data);
+
+#endif /* HELPERS_H */