1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-17 18:12:41 +01:00
sway-patched-tray-menu/include/swaybar/tray/dbus.h

19 lines
301 B
C
Raw Normal View History

#ifndef _SWAYBAR_DBUS_H
#define _SWAYBAR_DBUS_H
#include <stdbool.h>
#include <dbus/dbus.h>
extern DBusConnection *conn;
/**
* Should be called in main loop to dispatch events
*/
void dispatch_dbus();
/**
* Initializes async dbus communication
*/
int dbus_init();
#endif /* _SWAYBAR_DBUS_H */