summaryrefslogtreecommitdiff
path: root/apps/onplay.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-12-17 02:43:41 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-12-17 02:51:43 -0500
commitccf1aaa5bede11c95d219adbf6267426b57613d2 (patch)
treea2670a79c42b743d19631055385004706369b5d2 /apps/onplay.h
parent6f54bb63fc1f0da06330806321fbba50b1364907 (diff)
downloadrockbox-ccf1aaa5bede11c95d219adbf6267426b57613d2.tar.gz
rockbox-ccf1aaa5bede11c95d219adbf6267426b57613d2.zip
menus move functions with parameters to their own type
left the union with function(void) and function_w_param(param) as a few areas might still need to use both (onplay.c) there might be a few I missed yet.. Change-Id: I593a6875301923e19ba04ad1b0f3173dc9ebdf1f
Diffstat (limited to 'apps/onplay.h')
-rw-r--r--apps/onplay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.h b/apps/onplay.h
index 98d93b368c..807bfe8cf7 100644
--- a/apps/onplay.h
+++ b/apps/onplay.h
@@ -66,7 +66,7 @@ enum hotkey_flags {
66struct hotkey_assignment { 66struct hotkey_assignment {
67 int action; /* hotkey_action */ 67 int action; /* hotkey_action */
68 int lang_id; /* Language ID */ 68 int lang_id; /* Language ID */
69 struct menu_func func; /* Function to run if this entry is selected */ 69 struct menu_func_param func; /* Function to run if this entry is selected */
70 int16_t return_code; /* What to return after the function is run. */ 70 int16_t return_code; /* What to return after the function is run. */
71 uint16_t flags; /* Flags what context, display options */ 71 uint16_t flags; /* Flags what context, display options */
72}; /* (Pick ONPLAY_FUNC_RETURN to use function's return value) */ 72}; /* (Pick ONPLAY_FUNC_RETURN to use function's return value) */