DBusInterfaceInfo

Information about a D-Bus interface.

Constructors

this
this(GDBusInterfaceInfo* gDBusInterfaceInfo, bool ownedRef)

Sets our main struct and passes it to the parent class.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

cacheBuild
void cacheBuild()

Builds a lookup-cache to speed up g_dbus_interface_info_lookup_method(), g_dbus_interface_info_lookup_signal() and g_dbus_interface_info_lookup_property().

cacheRelease
void cacheRelease()

Decrements the usage count for the cache for @info built by g_dbus_interface_info_cache_build() (if any) and frees the resources used by the cache if the usage count drops to zero.

doref
DBusInterfaceInfo doref()

If @info is statically allocated does nothing. Otherwise increases the reference count.

generateXml
void generateXml(uint indent, StringG stringBuilder)

Appends an XML representation of @info (and its children) to @string_builder.

getDBusInterfaceInfoStruct
GDBusInterfaceInfo* getDBusInterfaceInfoStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

lookupMethod
DBusMethodInfo lookupMethod(string name)

Looks up information about a method.

lookupProperty
DBusPropertyInfo lookupProperty(string name)

Looks up information about a property.

lookupSignal
DBusSignalInfo lookupSignal(string name)

Looks up information about a signal.

unref
void unref()

If @info is statically allocated, does nothing. Otherwise decreases the reference count of @info. When its reference count drops to 0, the memory used is freed.

Properties

annotations
DBusAnnotationInfo[] annotations [@property getter]
DBusAnnotationInfo[] annotations [@property setter]

A pointer to a %NULL-terminated array of pointers to #GDBusAnnotationInfo structures or %NULL if there are no annotations.

methods
DBusMethodInfo[] methods [@property getter]
DBusMethodInfo[] methods [@property setter]

A pointer to a %NULL-terminated array of pointers to #GDBusMethodInfo structures or %NULL if there are no methods.

name
string name [@property getter]
string name [@property setter]

The name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties".

properties
DBusPropertyInfo[] properties [@property getter]
DBusPropertyInfo[] properties [@property setter]

A pointer to a %NULL-terminated array of pointers to #GDBusPropertyInfo structures or %NULL if there are no properties.

refCount
int refCount [@property getter]
int refCount [@property setter]

The reference count or -1 if statically allocated.

signals
DBusSignalInfo[] signals [@property getter]
DBusSignalInfo[] signals [@property setter]

A pointer to a %NULL-terminated array of pointers to #GDBusSignalInfo structures or %NULL if there are no signals.

Static functions

getType
GType getType()

Variables

gDBusInterfaceInfo
GDBusInterfaceInfo* gDBusInterfaceInfo;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta

Since

2.26