| Top |
| gboolean | auto-estimate | Read / Write |
| GCancellable * | cancellable | Read / Write / Construct Only |
| UDisksDaemon * | daemon | Read / Write / Construct Only |
GObject ╰── GDBusInterfaceSkeleton ╰── UDisksJobSkeleton ╰── UDisksBaseJob ├── UDisksSpawnedJob ├── UDisksThreadedJob ╰── UDisksSimpleJob
UDisksDaemon *
udisks_base_job_get_daemon (UDisksBaseJob *job);
Gets the UDisksDaemon for job
.
GCancellable *
udisks_base_job_get_cancellable (UDisksBaseJob *job);
Gets the GCancellable for job
.
gboolean
udisks_base_job_get_auto_estimate (UDisksBaseJob *job);
Gets whether auto-estimation is being used.
void udisks_base_job_set_auto_estimate (UDisksBaseJob *job,gboolean value);
Sets whether auto-estimation is being used.
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.
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.
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.
“auto-estimate” property“auto-estimate” gboolean
If TRUE, the “expected-end-time” property will be
automatically updated every time the “progress” property
is updated.
Owner: UDisksBaseJob
Flags: Read / Write
Default value: FALSE
“cancellable” property“cancellable” GCancellable *
The GCancellable to use.
Owner: UDisksBaseJob
Flags: Read / Write / Construct Only
“daemon” property“daemon” UDisksDaemon *
The UDisksDaemon the object is for.
Owner: UDisksBaseJob
Flags: Read / Write / Construct Only