diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/lib/SOURCES | 3 | ||||
-rw-r--r-- | apps/plugins/lib/pluginlib_albumart.c | 27 | ||||
-rw-r--r-- | apps/plugins/lib/wrappers.h | 13 |
3 files changed, 43 insertions, 0 deletions
diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES index c90613623c..e99a449e98 100644 --- a/apps/plugins/lib/SOURCES +++ b/apps/plugins/lib/SOURCES | |||
@@ -51,4 +51,7 @@ helper.c | |||
51 | #ifdef HAVE_TOUCHSCREEN | 51 | #ifdef HAVE_TOUCHSCREEN |
52 | touchscreen.c | 52 | touchscreen.c |
53 | #endif | 53 | #endif |
54 | #ifndef HAVE_ALBUMART | ||
55 | pluginlib_albumart.c | ||
56 | #endif | ||
54 | md5.c | 57 | md5.c |
diff --git a/apps/plugins/lib/pluginlib_albumart.c b/apps/plugins/lib/pluginlib_albumart.c new file mode 100644 index 0000000000..25c6716097 --- /dev/null +++ b/apps/plugins/lib/pluginlib_albumart.c | |||
@@ -0,0 +1,27 @@ | |||
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 wrapper for the core albumart.c | ||
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 | #include <plugin.h> | ||
25 | #include "wrappers.h" | ||
26 | |||
27 | #include "../../recorder/albumart.c" | ||
diff --git a/apps/plugins/lib/wrappers.h b/apps/plugins/lib/wrappers.h index 385cd5d613..bb904ff946 100644 --- a/apps/plugins/lib/wrappers.h +++ b/apps/plugins/lib/wrappers.h | |||
@@ -27,6 +27,9 @@ | |||
27 | #ifndef _LIB_WRAPPERS_H_ | 27 | #ifndef _LIB_WRAPPERS_H_ |
28 | #define _LIB_WRAPPERS_H_ | 28 | #define _LIB_WRAPPERS_H_ |
29 | 29 | ||
30 | #define DEBUG_H | ||
31 | #define __SPRINTF_H__ | ||
32 | |||
30 | #define open rb->open | 33 | #define open rb->open |
31 | #define close rb->close | 34 | #define close rb->close |
32 | #define read rb->read | 35 | #define read rb->read |
@@ -36,6 +39,16 @@ | |||
36 | #define cpu_boost rb->cpu_boost | 39 | #define cpu_boost rb->cpu_boost |
37 | #endif | 40 | #endif |
38 | #define yield rb->yield | 41 | #define yield rb->yield |
42 | #define file_exists rb->file_exists | ||
43 | #define snprintf rb->snprintf | ||
44 | #define strcat rb->strcat | ||
45 | #define strchr rb->strchr | ||
46 | #define strcmp rb->strcmp | ||
47 | #define strcpy rb->strcpy | ||
48 | #define strip_extension rb->strip_extension | ||
49 | #define strlen rb->strlen | ||
50 | #define strncpy rb->strncpy | ||
51 | #define strrchr rb->strrchr | ||
39 | 52 | ||
40 | #endif | 53 | #endif |
41 | 54 | ||