summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-03-03 07:52:13 -0500
committerMichael Sevakis <jethead71@rockbox.org>2012-03-03 07:52:13 -0500
commitd05db0a90c7bce7e6830e77a16c63a90e9e572c4 (patch)
tree3af3b1406b2bc6a30f647abcc40865bee2f73022 /apps/plugin.h
parentf688710707f3af56a5949b8ae3957c9408b25392 (diff)
downloadrockbox-d05db0a90c7bce7e6830e77a16c63a90e9e572c4.tar.gz
rockbox-d05db0a90c7bce7e6830e77a16c63a90e9e572c4.zip
Correct actionable offense for misappropriation of action context.
Just use a bool to indicate raw button instead of action code. No bother with plugin version yet again so soon. Change-Id: I4aa075c0c1fb5308c9d49bebb30ac76f671b2335
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index bddf23b5d2..cd2440abdc 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -705,7 +705,7 @@ struct plugin_api {
705 size_t (*mixer_channel_get_bytes_waiting)(enum pcm_mixer_channel channel); 705 size_t (*mixer_channel_get_bytes_waiting)(enum pcm_mixer_channel channel);
706 706
707 void (*system_sound_play)(enum system_sound sound); 707 void (*system_sound_play)(enum system_sound sound);
708 void (*keyclick_click)(int context, int action); 708 void (*keyclick_click)(bool rawbutton, int action);
709#endif /* CONFIG_CODEC == SWCODC */ 709#endif /* CONFIG_CODEC == SWCODC */
710 710
711 /* playback control */ 711 /* playback control */