diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-02 05:39:09 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-02 05:39:09 +0000 |
| commit | 60895bc107f5689f19de61828d8ffe0f2f1f59b5 (patch) | |
| tree | 0141dc6cada785f2c7c6b6655820567432c353ec /apps/plugin.h | |
| parent | 58e9412bff9947e4514c0d55152bfad91049a60c (diff) | |
| download | rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.zip rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.gz rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.bz2 rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.xz | |
Patch #1272052 by Henrik Backe - Move credits to a plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 2aa3e09..01ace98 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -44,6 +44,7 @@ #include "mpeg.h" #include "audio.h" #include "mp3_playback.h" +#include "misc.h" #if (HWCODEC == SWCODEC) #include "pcm_playback.h" #endif @@ -88,12 +89,12 @@ #endif /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 49 +#define PLUGIN_API_VERSION 50 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 49 +#define PLUGIN_MIN_API_VERSION 50 /* plugin return codes */ enum plugin_status { @@ -151,6 +152,7 @@ struct plugin_api { void (*lcd_put_cursor)(int x, int y, char cursor_char); void (*lcd_remove_cursor)(void); void (*PREFIX(lcd_icon))(int icon, bool enable); + void (*lcd_double_height)(bool on); #else #ifndef SIMULATOR void (*lcd_roll)(int pixels); @@ -420,6 +422,7 @@ struct plugin_api { int (*read_bmp_file)(char* filename, int *get_width, int *get_height, char *bitmap, int maxsize); #endif + int (*show_logo)(void); /* new stuff at the end, sort into place next time the API gets incompatible */ |