SyncdaemonStatus

SyncdaemonStatus

Synopsis

                    SyncdaemonStatusInterfacePrivate;
                    SyncdaemonStatusInterface;
                    SyncdaemonStatusInterfaceClass;
SyncdaemonStatusInterface * syncdaemon_status_interface_new
                                                        (SyncdaemonDaemon *daemon);
SyncdaemonStatusInfo * syncdaemon_status_interface_get_current_status
                                                        (SyncdaemonStatusInterface *interface);
GSList *            syncdaemon_status_interface_get_current_downloads
                                                        (SyncdaemonStatusInterface *interface);
GSList *            syncdaemon_status_interface_get_current_uploads
                                                        (SyncdaemonStatusInterface *interface);

Object Hierarchy

  GObject
   +----SyncdaemonInterface
         +----SyncdaemonStatusInterface

Description

Details

SyncdaemonStatusInterfacePrivate

typedef struct _SyncdaemonStatusInterfacePrivate SyncdaemonStatusInterfacePrivate;


SyncdaemonStatusInterface

typedef struct _SyncdaemonStatusInterface SyncdaemonStatusInterface;


SyncdaemonStatusInterfaceClass

typedef struct {
	SyncdaemonInterfaceClass parent_class;
} SyncdaemonStatusInterfaceClass;


syncdaemon_status_interface_new ()

SyncdaemonStatusInterface * syncdaemon_status_interface_new
                                                        (SyncdaemonDaemon *daemon);

daemon :

Returns :


syncdaemon_status_interface_get_current_status ()

SyncdaemonStatusInfo * syncdaemon_status_interface_get_current_status
                                                        (SyncdaemonStatusInterface *interface);

interface :

Returns :

A SyncdaemonStatusInfo object containing information about Syncdaemon's current status. When no longer needed, it should be freed by calling g_object_unref.

syncdaemon_status_interface_get_current_downloads ()

GSList *            syncdaemon_status_interface_get_current_downloads
                                                        (SyncdaemonStatusInterface *interface);

interface :

Returns :

A GSList of SyncdaemonTransferInfo objects, each of which contains information about a file download in progress. The data in the list belongs to the library, so when no longer needed, the list should be freed by just calling g_slist_free.

syncdaemon_status_interface_get_current_uploads ()

GSList *            syncdaemon_status_interface_get_current_uploads
                                                        (SyncdaemonStatusInterface *interface);

interface :

Returns :

A GSList of SyncdaemonTransferInfo objects, each of which contains information about a file upload in progress. The data in the list belongs to the library, so when no longer needed, the list should be freed by just calling g_slist_free.