summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index dab3320..6926797 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -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) */