Top |
ThunarJobOperation * | thunar_job_operation_new () |
void | thunar_job_operation_add () |
void | thunar_job_operation_overwrite () |
ThunarJobOperation * | thunar_job_operation_new_invert () |
gboolean | thunar_job_operation_execute () |
gint | thunar_job_operation_compare () |
void | thunar_job_operation_get_timestamps () |
void | thunar_job_operation_set_start_timestamp () |
void | thunar_job_operation_set_end_timestamp () |
const gchar * | thunar_job_operation_get_kind_nick () |
ThunarJobOperationKind | thunar_job_operation_get_kind () |
const GList * | thunar_job_operation_get_overwritten_files () |
gboolean | thunar_job_operation_empty () |
gchar * | thunar_job_operation_get_action_text () |
The ThunarJobOperation class represents a single 'job operation', a file operation like copying, moving trashing, renaming etc. and its source/target locations.
ThunarJobOperation *
thunar_job_operation_new (ThunarJobOperationKind kind
);
Creates a new ThunarJobOperation of the given kind. Should be unref'd by the caller after use.
void thunar_job_operation_add (ThunarJobOperation *job_operation
,GFile *source_file
,GFile *target_file
);
Adds the specified source_file
-target_file
pair to the given job operation.
void thunar_job_operation_overwrite (ThunarJobOperation *job_operation
,GFile *overwritten_file
);
ThunarJobOperation *
thunar_job_operation_new_invert (ThunarJobOperation *job_operation
);
gboolean thunar_job_operation_execute (ThunarJobOperation *job_operation
,GError **error
);
gint thunar_job_operation_compare (ThunarJobOperation *operation1
,ThunarJobOperation *operation2
);
void thunar_job_operation_get_timestamps (ThunarJobOperation *job_operation
,gint64 *start_timestamp
,gint64 *end_timestamp
);
Getter for both timestamps
job_operation |
||
start_timestamp |
Will be set to the current start_timestamp of the ThunarJobOperation |
|
end_timestamp |
Will be set to the current end_timestamp of the ThunarJobOperation |
void thunar_job_operation_set_start_timestamp (ThunarJobOperation *job_operation
,gint64 start_timestamp
);
Setter for start_timestamp
void thunar_job_operation_set_end_timestamp (ThunarJobOperation *job_operation
,gint64 end_timestamp
);
Setter for end_timestamp
const gchar *
thunar_job_operation_get_kind_nick (ThunarJobOperation *job_operation
);
ThunarJobOperationKind
thunar_job_operation_get_kind (ThunarJobOperation *job_operation
);
const GList *
thunar_job_operation_get_overwritten_files
(ThunarJobOperation *job_operation
);
gboolean
thunar_job_operation_empty (ThunarJobOperation *job_operation
);
gchar *
thunar_job_operation_get_action_text (ThunarJobOperation *job_operation
);