EDBusObject: Evolution-Data-Server Manual: Private

## EDBusObject EDBusObject |

## Functions

EDBusSource * | e_dbus_object_get_source ()
EDBusSource * | e_dbus_object_peek_source ()
EDBusSourceRemovable * | e_dbus_object_get_source_removable ()
EDBusSourceRemovable * | e_dbus_object_peek_source_removable ()
EDBusSourceWritable * | e_dbus_object_get_source_writable ()
EDBusSourceWritable * | e_dbus_object_peek_source_writable ()
EDBusSourceRemoteCreatable * | e_dbus_object_get_source_remote_creatable ()
EDBusSourceRemoteCreatable * | e_dbus_object_peek_source_remote_creatable ()
EDBusSourceRemoteDeletable * | e_dbus_object_get_source_remote_deletable ()
EDBusSourceRemoteDeletable * | e_dbus_object_peek_source_remote_deletable ()
EDBusSourceOAuth2Support * | e_dbus_object_get_source_oauth2_support ()
EDBusSourceOAuth2Support * | e_dbus_object_peek_source_oauth2_support ()
EDBusObjectProxy * | e_dbus_object_proxy_new ()
EDBusObjectSkeleton * | e_dbus_object_skeleton_new ()
void | e_dbus_object_skeleton_set_source ()
void | e_dbus_object_skeleton_set_source_writable ()
void | e_dbus_object_skeleton_set_source_removable ()
void | e_dbus_object_skeleton_set_source_remote_creatable ()
void | e_dbus_object_skeleton_set_source_remote_deletable ()
void | e_dbus_object_skeleton_set_source_oauth2_support ()

## Properties

EDBusSource * | source | Read / Write
EDBusSourceOAuth2Support * | source-oauth2-support | Read / Write
EDBusSourceRemoteCreatable * | source-remote-creatable | Read / Write
EDBusSourceRemoteDeletable * | source-remote-deletable | Read / Write
EDBusSourceRemovable * | source-removable | Read / Write
EDBusSourceWritable * | source-writable | Read / Write

## Types and Values

| EDBusObject
struct | EDBusObjectProxy
struct | EDBusObjectSkeleton

## Object Hierarchy

        GInterface
        ╰── EDBusObject
        GObject
        ├── GDBusObjectProxy
        │   ╰── EDBusObjectProxy
        ╰── GDBusObjectSkeleton
            ╰── EDBusObjectSkeleton

## Prerequisites

EDBusObject requires GDBusObject and GObject.

## Implemented Interfaces

EDBusObjectProxy implements GDBusObject and EDBusObject.

EDBusObjectSkeleton implements GDBusObject and EDBusObject.

## Known Implementations

EDBusObject is implemented by EDBusObjectProxy and EDBusObjectSkeleton.

## Description

## Functions

### e_dbus_object_get_source ()

    EDBusSource *
    e_dbus_object_get_source (EDBusObject *object);

Gets the EDBusSource instance for the D-Bus interface org.gnome.evolution.dataserver.Source on `object` , if any.

#### Parameters

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.

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.

[skip]

#### Parameters

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 org.gnome.evolution.dataserver.Source.Removable on `object` , if any.

#### Parameters

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.

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.

[skip]

#### Parameters

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 org.gnome.evolution.dataserver.Source.Writable on `object` , if any.

#### Parameters

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.

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.

[skip]

#### Parameters

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]

### e_dbus_object_get_source_remote_creatable ()

    EDBusSourceRemoteCreatable *
    e_dbus_object_get_source_remote_creatable
                                   (EDBusObject *object);

Gets the EDBusSourceRemoteCreatable instance for the D-Bus interface org.gnome.evolution.dataserver.Source.RemoteCreatable on `object` , if any.

#### Parameters

object | A EDBusObject. |

#### Returns

A EDBusSourceRemoteCreatable that must be freed with `g_object_unref()` or `NULL` if `object` does not implement the interface.

[transfer full]

### e_dbus_object_peek_source_remote_creatable ()

    EDBusSourceRemoteCreatable *
    e_dbus_object_peek_source_remote_creatable
                                   (EDBusObject *object);

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

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.

[skip]

#### Parameters

object | A EDBusObject. |

#### Returns

A EDBusSourceRemoteCreatable 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_remote_deletable ()

    EDBusSourceRemoteDeletable *
    e_dbus_object_get_source_remote_deletable
                                   (EDBusObject *object);

Gets the EDBusSourceRemoteDeletable instance for the D-Bus interface org.gnome.evolution.dataserver.Source.RemoteDeletable on `object` , if any.

#### Parameters

object | A EDBusObject. |

#### Returns

A EDBusSourceRemoteDeletable that must be freed with `g_object_unref()` or `NULL` if `object` does not implement the interface.

[transfer full]

### e_dbus_object_peek_source_remote_deletable ()

    EDBusSourceRemoteDeletable *
    e_dbus_object_peek_source_remote_deletable
                                   (EDBusObject *object);

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

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.

[skip]

#### Parameters

object | A EDBusObject. |

#### Returns

A EDBusSourceRemoteDeletable 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_oauth2_support ()

    EDBusSourceOAuth2Support *
    e_dbus_object_get_source_oauth2_support
                                   (EDBusObject *object);

Gets the EDBusSourceOAuth2Support instance for the D-Bus interface org.gnome.evolution.dataserver.Source.OAuth2Support on `object` , if any.

#### Parameters

object | A EDBusObject. |

#### Returns

A EDBusSourceOAuth2Support that must be freed with `g_object_unref()` or `NULL` if `object` does not implement the interface.

[transfer full]

### e_dbus_object_peek_source_oauth2_support ()

    EDBusSourceOAuth2Support *
    e_dbus_object_peek_source_oauth2_support
                                   (EDBusObject *object);

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

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.

[skip]

#### Parameters

object | A EDBusObject. |

#### Returns

A EDBusSourceOAuth2Support 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_proxy_new ()

    EDBusObjectProxy *
    e_dbus_object_proxy_new (GDBusConnection *connection,
                             const gchar *object_path);

Creates a new proxy object.

#### Parameters

connection | A GDBusConnection. |
object_path | An object path. |

#### Returns

The proxy object.

[transfer full]

### e_dbus_object_skeleton_new ()

    EDBusObjectSkeleton *
    e_dbus_object_skeleton_new (const gchar *object_path);

Creates a new skeleton object.

#### Parameters

object_path | An object path. |

#### Returns

The skeleton object.

[transfer full]

### e_dbus_object_skeleton_set_source ()

    void
    e_dbus_object_skeleton_set_source (EDBusObjectSkeleton *object,
                                       EDBusSource *interface_);

Sets the EDBusSource instance for the D-Bus interface org.gnome.evolution.dataserver.Source on `object` .

#### Parameters

object | A EDBusObjectSkeleton. |
interface_ | A EDBusSource or `NULL` to clear the interface. | [allow-none]

### e_dbus_object_skeleton_set_source_writable ()

    void
    e_dbus_object_skeleton_set_source_writable
                                   (EDBusObjectSkeleton *object,
                                    EDBusSourceWritable *interface_);

Sets the EDBusSourceWritable instance for the D-Bus interface org.gnome.evolution.dataserver.Source.Writable on `object` .

#### Parameters

object | A EDBusObjectSkeleton. |
interface_ | A EDBusSourceWritable or `NULL` to clear the interface. | [allow-none]

### e_dbus_object_skeleton_set_source_removable ()

    void
    e_dbus_object_skeleton_set_source_removable
                                   (EDBusObjectSkeleton *object,
                                    EDBusSourceRemovable *interface_);

Sets the EDBusSourceRemovable instance for the D-Bus interface org.gnome.evolution.dataserver.Source.Removable on `object` .

#### Parameters

object | A EDBusObjectSkeleton. |
interface_ | A EDBusSourceRemovable or `NULL` to clear the interface. | [allow-none]

### e_dbus_object_skeleton_set_source_remote_creatable ()

    void
    e_dbus_object_skeleton_set_source_remote_creatable
                                   (EDBusObjectSkeleton *object,
                                    EDBusSourceRemoteCreatable *interface_);

Sets the EDBusSourceRemoteCreatable instance for the D-Bus interface org.gnome.evolution.dataserver.Source.RemoteCreatable on `object` .

#### Parameters

object | A EDBusObjectSkeleton. |
interface_ | A EDBusSourceRemoteCreatable or `NULL` to clear the interface. | [allow-none]

### e_dbus_object_skeleton_set_source_remote_deletable ()

    void
    e_dbus_object_skeleton_set_source_remote_deletable
                                   (EDBusObjectSkeleton *object,
                                    EDBusSourceRemoteDeletable *interface_);

Sets the EDBusSourceRemoteDeletable instance for the D-Bus interface org.gnome.evolution.dataserver.Source.RemoteDeletable on `object` .

#### Parameters

object | A EDBusObjectSkeleton. |
interface_ | A EDBusSourceRemoteDeletable or `NULL` to clear the interface. | [allow-none]

### e_dbus_object_skeleton_set_source_oauth2_support ()

    void
    e_dbus_object_skeleton_set_source_oauth2_support
                                   (EDBusObjectSkeleton *object,
                                    EDBusSourceOAuth2Support *interface_);

Sets the EDBusSourceOAuth2Support instance for the D-Bus interface org.gnome.evolution.dataserver.Source.OAuth2Support on `object` .

#### Parameters

object | A EDBusObjectSkeleton. |
interface_ | A EDBusSourceOAuth2Support or `NULL` to clear the interface. | [allow-none]

## Types and Values

### EDBusObject

    typedef struct _EDBusObject EDBusObject;

The EDBusObject type is a specialized container of interfaces.

### struct EDBusObjectProxy

    struct EDBusObjectProxy;

The EDBusObjectProxy structure contains only private data and should only be accessed using the provided API.

### struct EDBusObjectSkeleton

    struct EDBusObjectSkeleton;

The EDBusObjectSkeleton structure contains only private data and should only be accessed using the provided API.

## Property Details

### The `“source”` property

      “source”                   EDBusSource *

The EDBusSource instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Source, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write

### The `“source-oauth2-support”` property

      “source-oauth2-support”    EDBusSourceOAuth2Support *

The EDBusSourceOAuth2Support instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Source.OAuth2Support, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write

### The `“source-remote-creatable”` property

      “source-remote-creatable”  EDBusSourceRemoteCreatable *

The EDBusSourceRemoteCreatable instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Source.RemoteCreatable, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write

### The `“source-remote-deletable”` property

      “source-remote-deletable”  EDBusSourceRemoteDeletable *

The EDBusSourceRemoteDeletable instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Source.RemoteDeletable, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write

### The `“source-removable”` property

      “source-removable”         EDBusSourceRemovable *

The EDBusSourceRemovable instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Source.Removable, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write

### The `“source-writable”` property

      “source-writable”          EDBusSourceWritable *

The EDBusSourceWritable instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Source.Writable, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write