forked from len0rd/rockbox
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
This commit is contained in:
parent
cb2caf7e0d
commit
c7d42bbbd7
3 changed files with 57 additions and 2 deletions
|
|
@ -39,9 +39,10 @@
|
|||
#include "font.h"
|
||||
#include "system.h"
|
||||
#include "lcd.h"
|
||||
|
||||
#include "id3.h"
|
||||
#include "mpeg.h"
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 4
|
||||
#define PLUGIN_API_VERSION 5
|
||||
|
||||
/* plugin return codes */
|
||||
enum plugin_status {
|
||||
|
|
@ -162,6 +163,7 @@ struct plugin_api {
|
|||
void (*qsort)(void *base, size_t nmemb, size_t size,
|
||||
int(*compar)(const void *, const void *));
|
||||
int (*kbd_input)(char* buffer, int buflen);
|
||||
struct mp3entry* (*mpeg_current_track)();
|
||||
};
|
||||
|
||||
/* defined by the plugin loader (plugin.c) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue