Typedefs | |
typedef void( | osso_application_autosave_cb_f )(gpointer data) |
Functions | |
osso_return_t | osso_application_set_autosave_cb (osso_context_t *osso, osso_application_autosave_cb_f *cb, gpointer data) |
osso_return_t | osso_application_unset_autosave_cb (osso_context_t *osso, osso_application_autosave_cb_f *cb, gpointer data) |
osso_return_t | osso_application_userdata_changed (osso_context_t *osso) |
osso_return_t | osso_application_autosave_force (osso_context_t *osso) |
It is up to the application to optimize whether it calls the "dirty state" function each time each user data changes or only the first time after the state has been loaded or saved.
|
This is the type for the autosave callback function.
|
|
This function forces a call to the save function, and resets the timeout.
|
|
This function registers an autosave user data event handler.
|
|
This function unregisters an autosave user data event handler.
|
|
This function is called by the application when the user data has been changed, so that autosaving can take place. The dirty-state will be cleared every time the autosave callback is called.
|