summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2003-12-15 07:44:43 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2003-12-15 07:44:43 +0000
commitbd8f448fd0cb10336c7dbc9a01e0ada0380c1c61 (patch)
tree92f28d3f57ec946cea2e72b1a62108ccc69dad2c /apps/plugin.h
parent50f63e334aa549f868b4b28c389b7ea34ffa9b4f (diff)
downloadrockbox-bd8f448fd0cb10336c7dbc9a01e0ada0380c1c61.zip
rockbox-bd8f448fd0cb10336c7dbc9a01e0ada0380c1c61.tar.gz
rockbox-bd8f448fd0cb10336c7dbc9a01e0ada0380c1c61.tar.bz2
rockbox-bd8f448fd0cb10336c7dbc9a01e0ada0380c1c61.tar.xz
the video player plugin and file the type / plugin API for it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4145 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e7ec86a..819d75d 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -43,7 +43,7 @@
#include "mpeg.h"
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 7
+#define PLUGIN_API_VERSION 8
/* update this to latest version if a change to the api struct breaks
backwards compatibility */
@@ -181,6 +181,13 @@ struct plugin_api {
int (*atoi)(const char *str);
struct tm* (*get_time)(void);
void* (*plugin_get_buffer)(int* buffer_size);
+ /* new stuff */
+#ifndef HAVE_LCD_CHARCELLS
+ unsigned char* lcd_framebuffer;
+ /* performance function */
+ void (*lcd_blit) (unsigned char* p_data, int x, int y, int width, int height, int stride);
+#endif
+ void (*yield)(void);
};
/* defined by the plugin loader (plugin.c) */