diff options
author | Jerome Kuptz <jeromekuptz@gmail.com> | 2003-07-20 21:29:16 +0000 |
---|---|---|
committer | Jerome Kuptz <jeromekuptz@gmail.com> | 2003-07-20 21:29:16 +0000 |
commit | c7d42bbbd7641c8e9e06b28000c4c02c2ee36d21 (patch) | |
tree | 6a8ad9d5ef9642c5a5b7371ef8f2fc772df1c8d7 /apps/plugin.h | |
parent | cb2caf7e0d66956151b0e484f261f2ea932305ab (diff) | |
download | rockbox-c7d42bbbd7641c8e9e06b28000c4c02c2ee36d21.tar.gz rockbox-c7d42bbbd7641c8e9e06b28000c4c02c2ee36d21.zip |
update to the api to allow fetching of currently playing id3 struct. Adding the favorites plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index dab3320b2a..6926797cba 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -39,9 +39,10 @@ | |||
39 | #include "font.h" | 39 | #include "font.h" |
40 | #include "system.h" | 40 | #include "system.h" |
41 | #include "lcd.h" | 41 | #include "lcd.h" |
42 | 42 | #include "id3.h" | |
43 | #include "mpeg.h" | ||
43 | /* increase this every time the api struct changes */ | 44 | /* increase this every time the api struct changes */ |
44 | #define PLUGIN_API_VERSION 4 | 45 | #define PLUGIN_API_VERSION 5 |
45 | 46 | ||
46 | /* plugin return codes */ | 47 | /* plugin return codes */ |
47 | enum plugin_status { | 48 | enum plugin_status { |
@@ -162,6 +163,7 @@ struct plugin_api { | |||
162 | void (*qsort)(void *base, size_t nmemb, size_t size, | 163 | void (*qsort)(void *base, size_t nmemb, size_t size, |
163 | int(*compar)(const void *, const void *)); | 164 | int(*compar)(const void *, const void *)); |
164 | int (*kbd_input)(char* buffer, int buflen); | 165 | int (*kbd_input)(char* buffer, int buflen); |
166 | struct mp3entry* (*mpeg_current_track)(); | ||
165 | }; | 167 | }; |
166 | 168 | ||
167 | /* defined by the plugin loader (plugin.c) */ | 169 | /* defined by the plugin loader (plugin.c) */ |