summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-25 07:42:10 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-25 07:42:10 +0000
commit250678bb050b2b7167b3eb45534279f048dd03cf (patch)
treead85ddcc38a8f429f11c4cd259caa7396b9e3e84 /apps/plugin.h
parent11359df6ca0c7f8be6ac5c42fb906b95cba72855 (diff)
downloadrockbox-250678bb050b2b7167b3eb45534279f048dd03cf.zip
rockbox-250678bb050b2b7167b3eb45534279f048dd03cf.tar.gz
rockbox-250678bb050b2b7167b3eb45534279f048dd03cf.tar.bz2
rockbox-250678bb050b2b7167b3eb45534279f048dd03cf.tar.xz
New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index bc77995..21d13db 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -76,7 +76,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 37
+#define PLUGIN_API_VERSION 38
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -269,7 +269,9 @@ struct plugin_api {
struct mp3entry* (*audio_current_track)(void);
void (*audio_flush_and_reload_tracks)(void);
int (*audio_get_file_pos)(void);
+#if (CONFIG_HWCODEC == MAS3587F)
unsigned long (*mpeg_get_last_header)(void);
+#endif
#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
void (*sound_set_pitch)(int pitch);
#endif
@@ -344,6 +346,10 @@ struct plugin_api {
void (*pcm_set_volume)(int volume);
void (*pcm_play_pause)(bool play);
#endif
+#ifdef HAVE_LCD_BITMAP
+ int (*read_bmp_file)(char* filename, int *get_width, int *get_height,
+ char *bitmap, int maxsize);
+#endif
};
/* defined by the plugin loader (plugin.c) */