summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-10-01 10:20:55 +0000
committerJens Arnold <amiconn@rockbox.org>2005-10-01 10:20:55 +0000
commit05042affc76ec42481bcddba4a3f94a7b77ec98d (patch)
treefc1f73129fbe09b3e2022828c717ba7eb9507603 /apps/plugin.h
parentf0fe3c94772ddf971810e5082dcfb9b0ac462ae4 (diff)
downloadrockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.zip
rockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.tar.gz
rockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.tar.bz2
rockbox-05042affc76ec42481bcddba4a3f94a7b77ec98d.tar.xz
Core: A graphics framework can now register a hook function to extend the core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index f133d32..8fd57d2 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -90,7 +90,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 51
+#define PLUGIN_API_VERSION 52
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -443,6 +443,8 @@ struct plugin_api {
void (*menu_draw)(int menu);
void (*menu_insert)(int menu, int position, char *desc, bool (*function) (void));
void (*menu_set_cursor)(int menu, int position);
+
+ void (*screen_dump_set_hook)(void (*hook)(int fh));
};
int plugin_load(const char* plugin, void* parameter);