![]() |
![]() |
![]() |
UDisks Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
UDisksBaseJob; struct UDisksBaseJobClass; UDisksDaemon * udisks_base_job_get_daemon (UDisksBaseJob *job
); GCancellable * udisks_base_job_get_cancellable (UDisksBaseJob *job
); gboolean udisks_base_job_get_auto_estimate (UDisksBaseJob *job
); void udisks_base_job_set_auto_estimate (UDisksBaseJob *job
,gboolean value
); void udisks_base_job_add_object (UDisksBaseJob *job
,UDisksObject *object
); void udisks_base_job_remove_object (UDisksBaseJob *job
,UDisksObject *object
);
GObject +----GDBusInterfaceSkeleton +----UDisksJobSkeleton +----UDisksBaseJob +----UDisksSpawnedJob +----UDisksThreadedJob +----UDisksSimpleJob
"auto-estimate" gboolean : Read / Write "cancellable" GCancellable* : Read / Write / Construct Only "daemon" UDisksDaemon* : Read / Write / Construct Only
typedef struct _UDisksBaseJob UDisksBaseJob;
The UDisksBaseJob structure contains only private data and should only be accessed using the provided API.
struct UDisksBaseJobClass { UDisksJobSkeletonClass parent_class; };
Class structure for UDisksBaseJob.
UDisksJobSkeletonClass |
Parent class. |
UDisksDaemon * udisks_base_job_get_daemon (UDisksBaseJob *job
);
Gets the UDisksDaemon for job
.
|
A UDisksBaseJob. |
Returns : |
A UDisksDaemon. Do not free, the object belongs to job . |
GCancellable * udisks_base_job_get_cancellable (UDisksBaseJob *job
);
Gets the GCancellable for job
.
|
A UDisksBaseJob. |
Returns : |
A GCancellable. Do not free, the object belongs to job . |
gboolean udisks_base_job_get_auto_estimate (UDisksBaseJob *job
);
Gets whether auto-estimation is being used.
|
A UDisksBaseJob. |
Returns : |
TRUE if auto-estimation is being used, FALSE otherwise. |
void udisks_base_job_set_auto_estimate (UDisksBaseJob *job
,gboolean value
);
Sets whether auto-estimation is being used.
|
A UDisksBaseJob. |
|
TRUE if auto-estimation is to be use, FALSE otherwise. |
void udisks_base_job_add_object (UDisksBaseJob *job
,UDisksObject *object
);
Adds the object path for object
to the Objects
array. If the object path is already in the array, does nothing.
|
A UDisksBaseJob. |
|
A UDisksObject. |
void udisks_base_job_remove_object (UDisksBaseJob *job
,UDisksObject *object
);
Removes the object path for object
to the Objects
array. If the object path is not in the array, does nothing.
|
A UDisksBaseJob. |
|
A UDisksObject. |
"auto-estimate"
property "auto-estimate" gboolean : Read / Write
If TRUE
, the "expected-end-time" property will be
automatically updated every time the "progress" property
is updated.
Default value: FALSE
"cancellable"
property "cancellable" GCancellable* : Read / Write / Construct Only
The GCancellable to use.
"daemon"
property"daemon" UDisksDaemon* : Read / Write / Construct Only
The UDisksDaemon the object is for.