From 05042affc76ec42481bcddba4a3f94a7b77ec98d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 1 Oct 2005 10:20:55 +0000 Subject: 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 --- apps/plugin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index f133d325a5..8fd57d2b5a 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); -- cgit v1.2.3