mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: dbus-monitor: call remove hooks always
Call remove hooks always. We don't rely on this currently, but may be clearer like this.
This commit is contained in:
parent
039759ceaf
commit
f292818961
2 changed files with 68 additions and 20 deletions
|
|
@ -36,10 +36,17 @@ struct dbus_monitor;
|
|||
|
||||
struct dbus_monitor_proxy_type
|
||||
{
|
||||
/** Interface name to monitor, or NULL for object type */
|
||||
const char *interface_name;
|
||||
|
||||
/** GObject type for the proxy */
|
||||
GType proxy_type;
|
||||
void (*on_object_update)(struct dbus_monitor *monitor, GDBusInterface *iface);
|
||||
void (*on_clear)(struct dbus_monitor *monitor, GDBusInterface *iface);
|
||||
|
||||
/** Hook called when object added or properties changed */
|
||||
void (*on_update)(struct dbus_monitor *monitor, GDBusInterface *iface);
|
||||
|
||||
/** Hook called when object is removed (or on monitor shutdown) */
|
||||
void (*on_remove)(struct dbus_monitor *monitor, GDBusInterface *iface);
|
||||
};
|
||||
|
||||
struct dbus_monitor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue