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/resize.h | |
parent | c38815aa2983bbb8dae7ec9dbea055a3b8e38297 (diff) | |
download | rockbox-07e982df8a0e3a72a357839ec0a6ff7d462bd173.tar.gz rockbox-07e982df8a0e3a72a357839ec0a6ff7d462bd173.zip |
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/resize.h')
-rw-r--r-- | apps/plugins/lib/resize.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/plugins/lib/resize.h b/apps/plugins/lib/resize.h new file mode 100644 index 0000000000..3674e140c3 --- /dev/null +++ b/apps/plugins/lib/resize.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2009 by Andrew Mahone | ||
11 | * | ||
12 | * This is a header for the pluginlib extensions to the core resize.c file | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
20 | * KIND, either express or implied. | ||
21 | * | ||
22 | ****************************************************************************/ | ||
23 | |||
24 | #ifndef _LIB_RESIZE_H_ | ||
25 | #define _LIB_RESIZE_H_ | ||
26 | |||
27 | #if LCD_DEPTH == 1 | ||
28 | void resize_init(const struct plugin_api *api); | ||
29 | #endif | ||
30 | |||
31 | #endif | ||