GATE
|
app class holding callbacks for different application execution states More...
#include <applications.h>
Data Fields | |
gate_result_t(* | init )(struct gate_app_class *app, char const *program, char const *const *arguments, gate_size_t argcount, gate_uintptr_t apphandle) |
gate_result_t(* | run )(struct gate_app_class *app) |
gate_result_t(* | on_signal )(struct gate_app_class *app, int appsignal) |
app class holding callbacks for different application execution states
gate_result_t(* init) (struct gate_app_class *app, char const *program, char const *const *arguments, gate_size_t argcount, gate_uintptr_t apphandle) |
Invoked on startup to hand over program arguments and to initialize global resources.
gate_result_t(* run) (struct gate_app_class *app) |
Invoked to execute main application functionality.
gate_result_t(* on_signal) (struct gate_app_class *app, int appsignal) |
Invoked, when external signals are received that require application behavior changes