Function

GioDBusProxyTypeFunc

Declaration

GType
(* GDBusProxyTypeFunc) (
  GDBusObjectManagerClient* manager,
  const gchar* object_path,
  const gchar* interface_name,
  gpointer user_data
)

Description [src]

Function signature for a function used to determine the GType to use for an interface proxy (if interface_name is not NULL) or object proxy (if interface_name is NULL).

This function is called in the [thread-default main loop][g-main-context-push-thread-default] that manager was constructed in.

Available since:2.30

Parameters

manager GDBusObjectManagerClient
 

A GDBusObjectManagerClient.

 The data is owned by the caller of the function.
object_path const gchar*
 

The object path of the remote object.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
interface_name const gchar*
 

The interface name of the remote object or NULL if a GDBusObjectProxy GType is requested.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
user_data gpointer
 

User data.

Return value

Returns: GType
 

A GType to use for the remote object. The returned type must be a GDBusProxy or GDBusObjectProxy -derived type.