Top | ![]() |
![]() |
![]() |
![]() |
include
: libfm/fm.h
The FmJob can be used to create asynchronous job which just run some simple function with provided data.
gboolean (*FmSimpleJobFunc) (FmJob *job
,gpointer user_data
);
The user function which will be ran asynchronously by FmJob API.
FmJob * fm_simple_job_new (FmSimpleJobFunc func
,gpointer user_data
,GDestroyNotify destroy_data
);
Creates a new simple FmJob for user task.
func |
user function to run asynchronously |
|
user_data |
user data provided for |
|
destroy_data |
user function to free data after job finished |
Since: 0.1.0