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.tar.gz
rockbox-bd8f448fd0cb10336c7dbc9a01e0ada0380c1c61.zip
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 e7ec86aa53..819d75dc24 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -43,7 +43,7 @@
43#include "mpeg.h" 43#include "mpeg.h"
44 44
45/* increase this every time the api struct changes */ 45/* increase this every time the api struct changes */
46#define PLUGIN_API_VERSION 7 46#define PLUGIN_API_VERSION 8
47 47
48/* update this to latest version if a change to the api struct breaks 48/* update this to latest version if a change to the api struct breaks
49 backwards compatibility */ 49 backwards compatibility */
@@ -181,6 +181,13 @@ struct plugin_api {
181 int (*atoi)(const char *str); 181 int (*atoi)(const char *str);
182 struct tm* (*get_time)(void); 182 struct tm* (*get_time)(void);
183 void* (*plugin_get_buffer)(int* buffer_size); 183 void* (*plugin_get_buffer)(int* buffer_size);
184 /* new stuff */
185#ifndef HAVE_LCD_CHARCELLS
186 unsigned char* lcd_framebuffer;
187 /* performance function */
188 void (*lcd_blit) (unsigned char* p_data, int x, int y, int width, int height, int stride);
189#endif
190 void (*yield)(void);
184}; 191};
185 192
186/* defined by the plugin loader (plugin.c) */ 193/* defined by the plugin loader (plugin.c) */