Top | ![]() |
![]() |
![]() |
![]() |
void | fm_file_info_job_add () |
void | fm_file_info_job_add_gfile () |
FmPath * | fm_file_info_job_get_current () |
FmFileInfoJob * | fm_file_info_job_new () |
include
: libfm/fm.h
The FmFileInfoJob can be used to get filled FmFileInfo for some files.
void fm_file_info_job_add (FmFileInfoJob *job
,FmPath *path
);
Adds a path
to query list for the job
.
This API may only be called before starting the job
.
Since: 0.1.0
void fm_file_info_job_add_gfile (FmFileInfoJob *job
,GFile *gf
);
Adds a path gf
to query list for the job
.
This API may only be called before starting the job
.
Since: 0.1.0
FmPath *
fm_file_info_job_get_current (FmFileInfoJob *job
);
Retrieves current the FmPath which caused the error.
Returned data are owned by job
and shouldn't be freed by caller.
This API may only be called in error handler.
Since: 0.1.10
FmFileInfoJob * fm_file_info_job_new (FmPathList *files_to_query
,FmFileInfoJobFlags flags
);
Creates a new FmFileInfoJob which can be used by FmJob API.
files_to_query |
list of paths to query informatiom. |
[allow-none] |
flags |
modificators of query mode |
Since: 0.1.0
struct FmFileInfoJob { FmJob parent; FmFileInfoJobFlags flags; FmFileInfoList* file_infos; };
FmJob |
the parent object |
|
FmFileInfoJobFlags |
flags for the job |
|
FmFileInfoList * |
gathered data |
struct FmFileInfoJobClass { void (*got_info)(FmFileInfoJob *job, FmFileInfo *info); };
“got-info”
signalvoid user_function (FmFileInfoJob *fmfileinfojob, gpointer arg1, gpointer user_data)
Flags: Run Last