From 250678bb050b2b7167b3eb45534279f048dd03cf Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 25 Apr 2005 07:42:10 +0000 Subject: New BMP reader by Tomas Salfischberger git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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) */ -- cgit v1.1