diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-08 02:49:23 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-08 02:49:23 +0000 |
| commit | 07e982df8a0e3a72a357839ec0a6ff7d462bd173 (patch) | |
| tree | 608c433f6576cbedf2114297870d9a13575d862e /apps/plugins/lib/bmp.h | |
| parent | c38815aa2983bbb8dae7ec9dbea055a3b8e38297 (diff) | |
| download | rockbox-07e982df8a0e3a72a357839ec0a6ff7d462bd173.zip rockbox-07e982df8a0e3a72a357839ec0a6ff7d462bd173.tar.gz rockbox-07e982df8a0e3a72a357839ec0a6ff7d462bd173.tar.bz2 rockbox-07e982df8a0e3a72a357839ec0a6ff7d462bd173.tar.xz | |
cleanup for core-file-in-pluginlib compilation:
wrapper C files in pluginlib renamed to the same name as the core files they
wrap
pluginlib-only init functions for resize and bmp moved into the wrapper files,
and declared in the associated header files
API() macro removed entirely, in favor of a core-only header file that
redefines core function names to use a plugin_api pointer
some unnecessary uses of PLUGIN in apps/recorder/bmp.c removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/bmp.h')
| -rw-r--r-- | apps/plugins/lib/bmp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/lib/bmp.h b/apps/plugins/lib/bmp.h index 12894f7..379a889 100644 --- a/apps/plugins/lib/bmp.h +++ b/apps/plugins/lib/bmp.h @@ -24,6 +24,7 @@ #include "lcd.h" #include "plugin.h" +#if LCD_DEPTH > 1 #ifdef HAVE_LCD_COLOR /** * Save bitmap to file @@ -43,4 +44,8 @@ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst); */ void smooth_resize_bitmap(struct bitmap *src, struct bitmap *dst); +#else +void bmp_init(const struct plugin_api *api); +#endif + #endif |