summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-01-02 13:59:20 +0100
committerWilliam Wilgus <me.theuser@yahoo.com>2022-01-04 18:04:53 -0500
commitde8ee6c9e98af821bcf1579ea2edac2a561a2fee (patch)
tree8b40b12bead6babbb92e1dd3cd8a8371c75cff32 /apps/plugin.h
parentd183959676bd269d1f2252517c4dac750c985482 (diff)
downloadrockbox-de8ee6c9e98af821bcf1579ea2edac2a561a2fee.tar.gz
rockbox-de8ee6c9e98af821bcf1579ea2edac2a561a2fee.zip
PictureFlow: Switch between albums from track view
Prev/next buttons on iPods or Fiio M3k can now be used to select another album without having to return to the albums view first. Scroll wheel/strip handles scrolling up and down in the track list as before. Other targets probably have the necessary buttons for this, so the keymap can be extended in the future (same goes for alphabetic browsing) Also prevents queue overflow and handles failure case for track list tagcache retrieval. Change-Id: Ic8ff4471e1583d1ab1f7d16911b15705a7f60aca
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index d4d86e50bd..8ade3a05ac 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -155,7 +155,7 @@ int plugin_open(const char *plugin, const char *parameter);
155#define PLUGIN_MAGIC 0x526F634B /* RocK */ 155#define PLUGIN_MAGIC 0x526F634B /* RocK */
156 156
157/* increase this every time the api struct changes */ 157/* increase this every time the api struct changes */
158#define PLUGIN_API_VERSION 248 158#define PLUGIN_API_VERSION 249
159 159
160/* update this to latest version if a change to the api struct breaks 160/* update this to latest version if a change to the api struct breaks
161 backwards compatibility (and please take the opportunity to sort in any 161 backwards compatibility (and please take the opportunity to sort in any
@@ -933,6 +933,7 @@ struct plugin_api {
933 const char *filename, int position, bool queue); 933 const char *filename, int position, bool queue);
934 int (*battery_current)(void); 934 int (*battery_current)(void);
935 void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb)); 935 void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb));
936 void (*queue_remove_from_head)(struct event_queue *q, long id);
936}; 937};
937 938
938/* plugin header */ 939/* plugin header */