diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-09-17 10:08:50 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-09-17 10:08:50 +0000 |
| commit | cf1cef5f573ca6961041c9ab53649ac52f6b1e93 (patch) | |
| tree | f4be937b805d829c354e0ad723b4cf3b7089f29b /apps/plugin.h | |
| parent | 344f45165f4b1f76b95883895be3634225a10cbb (diff) | |
| download | rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.zip rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.gz rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.bz2 rockbox-cf1cef5f573ca6961041c9ab53649ac52f6b1e93.tar.xz | |
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
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |