summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/feature_wrappers.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-05-02 03:47:46 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-05-02 03:47:46 +0000
commit3d4c68bb060bc926a1da72d6c00b86ebb87857c7 (patch)
tree4a49d1671ca28faa5e06c1851b6b6de41969e4fc /apps/plugins/lib/feature_wrappers.h
parent75f2629778a55d5b59ecb57e326879964610b063 (diff)
downloadrockbox-3d4c68bb060bc926a1da72d6c00b86ebb87857c7.tar.gz
rockbox-3d4c68bb060bc926a1da72d6c00b86ebb87857c7.zip
Add read_<image>_fd functions to plugin API, add feature_wrappers.h handling for them, and add read_image.[ch] wrapper for reading image files with automatic type detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20840 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/feature_wrappers.h')
-rw-r--r--apps/plugins/lib/feature_wrappers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lib/feature_wrappers.h b/apps/plugins/lib/feature_wrappers.h
index 22ce779fcd..cf840e6d57 100644
--- a/apps/plugins/lib/feature_wrappers.h
+++ b/apps/plugins/lib/feature_wrappers.h
@@ -43,8 +43,10 @@
43 */ 43 */
44#if LCD_DEPTH > 1 44#if LCD_DEPTH > 1
45#define scaled_read_bmp_file rb->read_bmp_file 45#define scaled_read_bmp_file rb->read_bmp_file
46#define scaled_read_bmp_fd rb->read_bmp_fd
46#else 47#else
47#define scaled_read_bmp_file read_bmp_file 48#define scaled_read_bmp_file read_bmp_file
49#define scaled_read_bmp_fd read_bmp_fd
48#endif 50#endif
49 51
50#endif 52#endif