diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-05-25 20:11:29 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-01-10 18:50:12 +0100 |
commit | a513cee8222006d5f970b4495ae7d1f1b6facf9b (patch) | |
tree | e6faa2e23a49b9dfd2eec38ef07aa899804ed39a /apps/plugin.h | |
parent | d5e38062ea6f1f4645f917b0d70e5001c48e9052 (diff) | |
download | rockbox-a513cee8222006d5f970b4495ae7d1f1b6facf9b.tar.gz rockbox-a513cee8222006d5f970b4495ae7d1f1b6facf9b.zip |
PictureFlow: Add 'Track Info' for tracks or whole albums
Context menu gains new option to view
metadata for individual tracks or albums.
Will display an album's length and total file size.
Other fields are displayed only if they are identical
across all tracks (except for the album year, which
is determined by the highest value encountered).
Change-Id: Ibc14cfaf2cb3d91b8d1cfbee05c6261db4975355
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index ed688eb753..768fc0ff27 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -157,7 +157,7 @@ int plugin_open(const char *plugin, const char *parameter); | |||
157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
158 | 158 | ||
159 | /* increase this every time the api struct changes */ | 159 | /* increase this every time the api struct changes */ |
160 | #define PLUGIN_API_VERSION 260 | 160 | #define PLUGIN_API_VERSION 261 |
161 | 161 | ||
162 | /* update this to latest version if a change to the api struct breaks | 162 | /* update this to latest version if a change to the api struct breaks |
163 | backwards compatibility (and please take the opportunity to sort in any | 163 | backwards compatibility (and please take the opportunity to sort in any |
@@ -945,6 +945,9 @@ struct plugin_api { | |||
945 | #endif | 945 | #endif |
946 | /* new stuff at the end, sort into place next time | 946 | /* new stuff at the end, sort into place next time |
947 | the API gets incompatible */ | 947 | the API gets incompatible */ |
948 | |||
949 | void (*splash_progress)(int current, int total, const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4); | ||
950 | void (*splash_progress_set_delay)(long delay_ticks); | ||
948 | }; | 951 | }; |
949 | 952 | ||
950 | /* plugin header */ | 953 | /* plugin header */ |