Top | ![]() |
![]() |
![]() |
![]() |
StoragedDaemon * | storaged_base_job_get_daemon () |
GCancellable * | storaged_base_job_get_cancellable () |
gboolean | storaged_base_job_get_auto_estimate () |
void | storaged_base_job_set_auto_estimate () |
void | storaged_base_job_add_object () |
void | storaged_base_job_remove_object () |
gboolean | auto-estimate | Read / Write |
GCancellable * | cancellable | Read / Write / Construct Only |
StoragedDaemon * | daemon | Read / Write / Construct Only |
GObject ╰── GDBusInterfaceSkeleton ╰── StoragedJobSkeleton ╰── StoragedBaseJob ├── StoragedSpawnedJob ├── StoragedThreadedJob ╰── StoragedSimpleJob
StoragedDaemon *
storaged_base_job_get_daemon (StoragedBaseJob *job
);
Gets the StoragedDaemon for job
.
GCancellable *
storaged_base_job_get_cancellable (StoragedBaseJob *job
);
Gets the GCancellable for job
.
gboolean
storaged_base_job_get_auto_estimate (StoragedBaseJob *job
);
Gets whether auto-estimation is being used.
void storaged_base_job_set_auto_estimate (StoragedBaseJob *job
,gboolean value
);
Sets whether auto-estimation is being used.
void storaged_base_job_add_object (StoragedBaseJob *job
,StoragedObject *object
);
Adds the object path for object
to the Objects
array. If the object path is already in the array, does nothing.
void storaged_base_job_remove_object (StoragedBaseJob *job
,StoragedObject *object
);
Removes the object path for object
to the Objects
array. If the object path is not in the array, does nothing.
typedef struct _StoragedBaseJob StoragedBaseJob;
The StoragedBaseJob structure contains only private data and should only be accessed using the provided API.
struct StoragedBaseJobClass { StoragedJobSkeletonClass parent_class; };
Class structure for StoragedBaseJob.
“auto-estimate”
property “auto-estimate” gboolean
If TRUE
, the “expected-end-time” property will be
automatically updated every time the “progress” property
is updated.
Flags: Read / Write
Default value: FALSE
“cancellable”
property “cancellable” GCancellable *
The GCancellable to use.
Flags: Read / Write / Construct Only
“daemon”
property“daemon” StoragedDaemon *
The StoragedDaemon the object is for.
Flags: Read / Write / Construct Only