EDBusObject

EDBusObject

Synopsis

                    EDBusObject;
EDBusSource *       e_dbus_object_get_source            (EDBusObject *object);
EDBusSource *       e_dbus_object_peek_source           (EDBusObject *object);
EDBusSourceRemovable * e_dbus_object_get_source_removable
                                                        (EDBusObject *object);
EDBusSourceRemovable * e_dbus_object_peek_source_removable
                                                        (EDBusObject *object);
EDBusSourceWritable * e_dbus_object_get_source_writable (EDBusObject *object);
EDBusSourceWritable * e_dbus_object_peek_source_writable
                                                        (EDBusObject *object);

Object Hierarchy

  GInterface
   +----EDBusObject

Prerequisites

EDBusObject requires GDBusObject and GObject.

Known Implementations

EDBusObject is implemented by EDBusObjectProxy and EDBusObjectSkeleton.

Properties

  "source"                   EDBusSource*          : Read / Write
  "source-removable"         EDBusSourceRemovable*  : Read / Write
  "source-writable"          EDBusSourceWritable*  : Read / Write

Description

Details

EDBusObject

typedef struct _EDBusObject EDBusObject;

The EDBusObject type is a specialized container of interfaces.


e_dbus_object_get_source ()

EDBusSource *       e_dbus_object_get_source            (EDBusObject *object);

Gets the EDBusSource instance for the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Source.top_of_page">org.gnome.evolution.dataserver.Source</link> on object, if any.

object :

A EDBusObject.

Returns :

A EDBusSource that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

e_dbus_object_peek_source ()

EDBusSource *       e_dbus_object_peek_source           (EDBusObject *object);

Like e_dbus_object_get_source() but doesn't increase the reference count on the returned object.

<warning>It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.</warning>

object :

A EDBusObject.

Returns :

A EDBusSource or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

e_dbus_object_get_source_removable ()

EDBusSourceRemovable * e_dbus_object_get_source_removable
                                                        (EDBusObject *object);

Gets the EDBusSourceRemovable instance for the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Source-Removable.top_of_page">org.gnome.evolution.dataserver.Source.Removable</link> on object, if any.

object :

A EDBusObject.

Returns :

A EDBusSourceRemovable that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

e_dbus_object_peek_source_removable ()

EDBusSourceRemovable * e_dbus_object_peek_source_removable
                                                        (EDBusObject *object);

Like e_dbus_object_get_source_removable() but doesn't increase the reference count on the returned object.

<warning>It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.</warning>

object :

A EDBusObject.

Returns :

A EDBusSourceRemovable or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

e_dbus_object_get_source_writable ()

EDBusSourceWritable * e_dbus_object_get_source_writable (EDBusObject *object);

Gets the EDBusSourceWritable instance for the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Source-Writable.top_of_page">org.gnome.evolution.dataserver.Source.Writable</link> on object, if any.

object :

A EDBusObject.

Returns :

A EDBusSourceWritable that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

e_dbus_object_peek_source_writable ()

EDBusSourceWritable * e_dbus_object_peek_source_writable
                                                        (EDBusObject *object);

Like e_dbus_object_get_source_writable() but doesn't increase the reference count on the returned object.

<warning>It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.</warning>

object :

A EDBusObject.

Returns :

A EDBusSourceWritable or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

Property Details

The "source" property

  "source"                   EDBusSource*          : Read / Write

The EDBusSource instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Source.top_of_page">org.gnome.evolution.dataserver.Source</link>, if any.

Connect to the "notify" signal to get informed of property changes.


The "source-removable" property

  "source-removable"         EDBusSourceRemovable*  : Read / Write

The EDBusSourceRemovable instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Source-Removable.top_of_page">org.gnome.evolution.dataserver.Source.Removable</link>, if any.

Connect to the "notify" signal to get informed of property changes.


The "source-writable" property

  "source-writable"          EDBusSourceWritable*  : Read / Write

The EDBusSourceWritable instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-gnome-evolution-dataserver-Source-Writable.top_of_page">org.gnome.evolution.dataserver.Source.Writable</link>, if any.

Connect to the "notify" signal to get informed of property changes.