Syncdaemon

Syncdaemon

Synopsis

                    SyncdaemonInterface;
                    SyncdaemonInterfaceClass;
GObject *           syncdaemon_interface_setup_proxy    (SyncdaemonInterface *interface,
                                                         const gchar *unique_bus_name,
                                                         const gchar *object_path,
                                                         const gchar *interface_name);
GObject *           syncdaemon_interface_get_proxy_object
                                                        (SyncdaemonInterface *interface);
                    SyncdaemonInterfacePrivate;

Object Hierarchy

  GObject
   +----SyncdaemonInterface
         +----SyncdaemonConfigInterface
         +----SyncdaemonEventsInterface
         +----SyncdaemonFilesystemInterface
         +----SyncdaemonFoldersInterface
         +----SyncdaemonPublicfilesInterface
         +----SyncdaemonSharesInterface
         +----SyncdaemonStatusInterface

Properties

  "daemon"                   SyncdaemonDaemon*     : Read / Write / Construct

Description

Details

SyncdaemonInterface

typedef struct _SyncdaemonInterface SyncdaemonInterface;


SyncdaemonInterfaceClass

typedef struct {
	GObjectClass parent_class;
} SyncdaemonInterfaceClass;


syncdaemon_interface_setup_proxy ()

GObject *           syncdaemon_interface_setup_proxy    (SyncdaemonInterface *interface,
                                                         const gchar *unique_bus_name,
                                                         const gchar *object_path,
                                                         const gchar *interface_name);

This function should only be used by SyncdaemonInterface-based classes, to setup the DBus proxy to be used for communication with the underlying DBus interface.

interface :

A SyncdaemonInterface object

unique_bus_name :

Unique DBus interface name

object_path :

Object path for this interface

interface_name :

Interface name for this interface

Returns :

The DBus proxy associated with this interface.

syncdaemon_interface_get_proxy_object ()

GObject *           syncdaemon_interface_get_proxy_object
                                                        (SyncdaemonInterface *interface);

Return the DBus proxy object associated with the given Syncdaemon interface.

This function should not be used by applications, as this is just a convenience function for internal implementation of the classes in the library.

interface :

A SyncdaemonInterface object

Returns :

The DBus proxy associated with this interface, or NULL if it hasn't been setup yet.

SyncdaemonInterfacePrivate

typedef struct _SyncdaemonInterfacePrivate SyncdaemonInterfacePrivate;

Property Details

The "daemon" property

  "daemon"                   SyncdaemonDaemon*     : Read / Write / Construct

Daemon object from which this interface was created.