From 07e982df8a0e3a72a357839ec0a6ff7d462bd173 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Thu, 8 Jan 2009 02:49:23 +0000 Subject: 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 --- apps/plugins/lib/resize.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 apps/plugins/lib/resize.c (limited to 'apps/plugins/lib/resize.c') diff --git a/apps/plugins/lib/resize.c b/apps/plugins/lib/resize.c new file mode 100644 index 0000000..28446e7 --- /dev/null +++ b/apps/plugins/lib/resize.c @@ -0,0 +1,34 @@ +/*************************************************************************** +* __________ __ ___. +* Open \______ \ ____ ____ | | _\_ |__ _______ ___ +* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +* \/ \/ \/ \/ \/ +* $Id$ +* +* Copyright (C) 2009 by Andrew Mahone +* +* This is a wrapper for the core resize.c +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +* KIND, either express or implied. +* +****************************************************************************/ + +#include +#include "wrappers.h" + +static const struct plugin_api *rb; + +#include "../../recorder/resize.c" + +void resize_init(const struct plugin_api *api) +{ + rb = api; +} -- cgit v1.1