src/utils/dbus.h
raw| 1 | #include <glib.h> |
| 2 | #include <gio/gio.h> |
| 3 | |
| 4 | #ifndef BD_UTILS_DBUS |
| 5 | #define BD_UTILS_DBUS |
| 6 | |
| 7 | GQuark bd_utils_dbus_error_quark (void); |
| 8 | #define BD_UTILS_DBUS_ERROR bd_utils_dbus_error_quark () |
| 9 | typedef enum { |
| 10 | BD_UTILS_DBUS_ERROR_FAIL, |
| 11 | BD_UTILS_DBUS_ERROR_NOEXIST, |
| 12 | } BDUtilsDBusError; |
| 13 | |
| 14 | gboolean bd_utils_dbus_service_available (GDBusConnection *connection, GBusType bus_type, const gchar *bus_name, const gchar *obj_prefix, GError **error); |
| 15 | |
| 16 | #endif /* BD_UTILS_DBUS */ |