Constructor

TrackerEndpointDBusnew

Declaration [src]

TrackerEndpointDBus*
tracker_endpoint_dbus_new (
  TrackerSparqlConnection* sparql_connection,
  GDBusConnection* dbus_connection,
  const gchar* object_path,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Registers a Tracker endpoint object at object_path on dbus_connection. The default object path is /org/freedesktop/Tracker3/Endpoint.

Parameters

sparql_connection TrackerSparqlConnection
 

The TrackerSparqlConnection being made public.

 The data is owned by the caller of the function.
dbus_connection GDBusConnection*
 

GDBusConnection to expose the DBus object over.

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

The object path to use, or NULL to use the default.

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

Optional GCancellable

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: TrackerEndpointDBus
 

A TrackerEndpointDBus object.

 The caller of the function takes ownership of the data, and is responsible for freeing it.