接口
GPIODBusObjectManager
描述 [源]
interface Gio.DBusObjectManager : GObject.Object
GDBusObjectManager
类型是标准化 org.freedesktop.DBus.ObjectManager
接口的服务和客户端实现的基类型。
有关客户端实现,请参阅 GDBusObjectManagerClient
,有关服务端实现,请参阅 GDBusObjectManagerServer
。
先决条件
为了实现DBusObjectManager,您的类型必须继承自GObject
。
接口结构
struct GioDBusObjectManagerIface {
GTypeInterface parent_iface;
const gchar* (* get_object_path) (
GDBusObjectManager* manager
);
GList* (* get_objects) (
GDBusObjectManager* manager
);
GDBusObject* (* get_object) (
GDBusObjectManager* manager,
const gchar* object_path
);
GDBusInterface* (* get_interface) (
GDBusObjectManager* manager,
const gchar* object_path,
const gchar* interface_name
);
void (* object_added) (
GDBusObjectManager* manager,
GDBusObject* object
);
void (* object_removed) (
GDBusObjectManager* manager,
GDBusObject* object
);
void (* interface_added) (
GDBusObjectManager* manager,
GDBusObject* object,
GDBusInterface* interface_
);
void (* interface_removed) (
GDBusObjectManager* manager,
GDBusObject* object,
GDBusInterface* interface_
);
}
D-Bus对象管理器的基类型。
接口成员
parent_iface |
|
父接口。 |
|
get_object_path |
|
g_dbus_object_manager_get_object_path()的虚拟函数。 |
|
get_objects |
|
g_dbus_object_manager_get_objects()的虚拟函数。 |
|
get_object |
|
g_dbus_object_manager_get_object()的虚拟函数。 |
|
get_interface |
|
g_dbus_object_manager_get_interface()的虚拟函数。 |
|
object_added |
|
|
|
object_removed |
|
|
|
interface_added |
|
|
|
interface_removed |
|
|