From cf1cef5f573ca6961041c9ab53649ac52f6b1e93 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 17 Sep 2007 10:08:50 +0000 Subject: minor update to gui_synclist_do_button() which will hopefully simplify things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 2580d43..3971a13 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -112,12 +112,12 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 73 +#define PLUGIN_API_VERSION 74 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 73 +#define PLUGIN_MIN_API_VERSION 74 /* plugin return codes */ enum plugin_status { @@ -280,8 +280,8 @@ struct plugin_api { void (*gui_synclist_del_item)(struct gui_synclist * lists); void (*gui_synclist_limit_scroll)(struct gui_synclist * lists, bool scroll); void (*gui_synclist_flash)(struct gui_synclist * lists); - unsigned (*gui_synclist_do_button)(struct gui_synclist * lists, - unsigned button,enum list_wrap wrap); + bool (*gui_synclist_do_button)(struct gui_synclist * lists, + unsigned *action, enum list_wrap wrap); void (*gui_synclist_set_title)(struct gui_synclist *lists, char* title, int icon); /* button */ -- cgit v1.1