1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andrew Mahone 2009-01-08 02:49:23 +00:00
parent c38815aa29
commit 07e982df8a
11 changed files with 107 additions and 66 deletions

View file

@ -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