16 #define METHOD_UNHANDLED 1 17 #define METHOD_ERROR 2 18 #define METHOD_SILENT_ERROR 3 32 typedef void (*
describe_func)(
const object *,
const object *,
int use_media_tags,
char *
buf,
size_t size);
method_ret(* apply_func)(object *, object *, int)
Typedefs for ob_methods.
This struct stores function pointers for actions that can be done to objects.
method_ret(* trigger_func)(object *, object *, int)
apply_func apply
The apply method.
method_ret(* process_func)(object *)
char method_ret
Define some standard return values for callbacks which don't need to return any other results...
void(* describe_func)(const object *, const object *, int use_media_tags, char *buf, size_t size)
move_on_func move_on
The move_on method.
method_ret(* examine_func)(const object *, const object *, int use_media_tags, char *buf, size_t size)
trigger_func trigger
When something is triggered via a button.
process_func process
The process method.
describe_func describe
The describe method.
method_ret(* move_on_func)(object *, object *, object *)
ob_methods * fallback
ob_method structure to fallback to