Type Alias GDBusObjectIface

Source
pub type GDBusObjectIface = _GDBusObjectIface;
Expand description

GDBusObjectIface: @parent_iface: The parent interface. @get_object_path: Returns the object path. See g_dbus_object_get_object_path(). @get_interfaces: Returns all interfaces. See g_dbus_object_get_interfaces(). @get_interface: Returns an interface by name. See g_dbus_object_get_interface(). @interface_added: Signal handler for the #GDBusObject::interface-added signal. @interface_removed: Signal handler for the #GDBusObject::interface-removed signal.

Base object type for D-Bus objects.

Since: 2.30

Aliased Type§

struct GDBusObjectIface {
    pub parent_iface: _GTypeInterface,
    pub get_object_path: Option<unsafe extern "C" fn(*mut _GDBusObject) -> *const i8>,
    pub get_interfaces: Option<unsafe extern "C" fn(*mut _GDBusObject) -> *mut _GList>,
    pub get_interface: Option<unsafe extern "C" fn(*mut _GDBusObject, *const i8) -> *mut _GDBusInterface>,
    pub interface_added: Option<unsafe extern "C" fn(*mut _GDBusObject, *mut _GDBusInterface)>,
    pub interface_removed: Option<unsafe extern "C" fn(*mut _GDBusObject, *mut _GDBusInterface)>,
}

Fields§

§parent_iface: _GTypeInterface§get_object_path: Option<unsafe extern "C" fn(*mut _GDBusObject) -> *const i8>§get_interfaces: Option<unsafe extern "C" fn(*mut _GDBusObject) -> *mut _GList>§get_interface: Option<unsafe extern "C" fn(*mut _GDBusObject, *const i8) -> *mut _GDBusInterface>§interface_added: Option<unsafe extern "C" fn(*mut _GDBusObject, *mut _GDBusInterface)>§interface_removed: Option<unsafe extern "C" fn(*mut _GDBusObject, *mut _GDBusInterface)>