From 29d7db4a46a773793d83cca9583f6aa403f5fa3d Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Sun, 31 May 2009 17:47:56 +0000 Subject: Replace use of CONTEXT_CUSTOM by get_custom_action with new CONTEXT_PLUGIN, to prevent conflicts with core contexts using CONTEXT_CUSTOM, and use CONTEXT_TREE as the base context for PictureFlow's custom contexts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21149 a1c6a512-1295-4272-9138-f99709370657 --- apps/action.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/action.h') diff --git a/apps/action.h b/apps/action.h index 9869fb30b1..616fad57e9 100644 --- a/apps/action.h +++ b/apps/action.h @@ -30,6 +30,7 @@ #define CONTEXT_REMOTE 0x80000000 /* | this against another context to get remote buttons for that context */ #define CONTEXT_CUSTOM 0x40000000 /* | this against anything to get your context number */ #define CONTEXT_CUSTOM2 0x20000000 /* as above */ +#define CONTEXT_PLUGIN 0x10000000 /* for plugins using get_custom_action */ #define LAST_ITEM_IN_LIST { CONTEXT_STOPSEARCHING, BUTTON_NONE, BUTTON_NONE } #define LAST_ITEM_IN_LIST__NEXTLIST(a) { a, BUTTON_NONE, BUTTON_NONE } -- cgit v1.2.3