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.tar.gz rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.zip |
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 2aa3e09475..01ace98690 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -44,6 +44,7 @@ | |||
44 | #include "mpeg.h" | 44 | #include "mpeg.h" |
45 | #include "audio.h" | 45 | #include "audio.h" |
46 | #include "mp3_playback.h" | 46 | #include "mp3_playback.h" |
47 | #include "misc.h" | ||
47 | #if (HWCODEC == SWCODEC) | 48 | #if (HWCODEC == SWCODEC) |
48 | #include "pcm_playback.h" | 49 | #include "pcm_playback.h" |
49 | #endif | 50 | #endif |
@@ -88,12 +89,12 @@ | |||
88 | #endif | 89 | #endif |
89 | 90 | ||
90 | /* increase this every time the api struct changes */ | 91 | /* increase this every time the api struct changes */ |
91 | #define PLUGIN_API_VERSION 49 | 92 | #define PLUGIN_API_VERSION 50 |
92 | 93 | ||
93 | /* update this to latest version if a change to the api struct breaks | 94 | /* update this to latest version if a change to the api struct breaks |
94 | backwards compatibility (and please take the opportunity to sort in any | 95 | backwards compatibility (and please take the opportunity to sort in any |
95 | new function which are "waiting" at the end of the function table) */ | 96 | new function which are "waiting" at the end of the function table) */ |
96 | #define PLUGIN_MIN_API_VERSION 49 | 97 | #define PLUGIN_MIN_API_VERSION 50 |
97 | 98 | ||
98 | /* plugin return codes */ | 99 | /* plugin return codes */ |
99 | enum plugin_status { | 100 | enum plugin_status { |
@@ -151,6 +152,7 @@ struct plugin_api { | |||
151 | void (*lcd_put_cursor)(int x, int y, char cursor_char); | 152 | void (*lcd_put_cursor)(int x, int y, char cursor_char); |
152 | void (*lcd_remove_cursor)(void); | 153 | void (*lcd_remove_cursor)(void); |
153 | void (*PREFIX(lcd_icon))(int icon, bool enable); | 154 | void (*PREFIX(lcd_icon))(int icon, bool enable); |
155 | void (*lcd_double_height)(bool on); | ||
154 | #else | 156 | #else |
155 | #ifndef SIMULATOR | 157 | #ifndef SIMULATOR |
156 | void (*lcd_roll)(int pixels); | 158 | void (*lcd_roll)(int pixels); |
@@ -420,6 +422,7 @@ struct plugin_api { | |||
420 | int (*read_bmp_file)(char* filename, int *get_width, int *get_height, | 422 | int (*read_bmp_file)(char* filename, int *get_width, int *get_height, |
421 | char *bitmap, int maxsize); | 423 | char *bitmap, int maxsize); |
422 | #endif | 424 | #endif |
425 | int (*show_logo)(void); | ||
423 | 426 | ||
424 | /* new stuff at the end, sort into place next time | 427 | /* new stuff at the end, sort into place next time |
425 | the API gets incompatible */ | 428 | the API gets incompatible */ |