| Top |
| void | entangle_script_simple_return_task_error () |
| GObject * | entangle_script_simple_init_task_data () |
| GObject * | entangle_script_simple_get_task_data () |
void entangle_script_simple_return_task_error (EntangleScriptSimple *script,GTask *result,const gchar *message);
GObject *
entangle_script_simple_init_task_data (EntangleScriptSimple *script);
GObject * entangle_script_simple_get_task_data (EntangleScriptSimple *script,GTask *result);
struct EntangleScriptSimpleClass {
void (*execute)(EntangleScriptSimple *script,
EntangleCameraAutomata *automata,
GCancellable *cancel,
GTask *result);
GObject *(*init_task_data)(EntangleScriptSimple *script);
};
The EntangleScriptSimpleClass abstract class is a simplification of the EntangleScriptClass to workaround limitations of the Python GObject introspection bindings propagating GErrors to/from the C layer, and dealing with async ready callbacks.
Runs the logic for the script. The implementation should
use the |
||
create a data object that will be associated
with the GTask passed to the |