summaryrefslogtreecommitdiffstats
path: root/apps/action.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-05-31 17:47:56 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-05-31 17:47:56 +0000
commit29d7db4a46a773793d83cca9583f6aa403f5fa3d (patch)
treef094238dc57392d0574bf1922236e4456b2edd5c /apps/action.h
parentc69331ef32171966b19f4348c72539d4c6a149ba (diff)
downloadrockbox-29d7db4a46a773793d83cca9583f6aa403f5fa3d.tar.gz
rockbox-29d7db4a46a773793d83cca9583f6aa403f5fa3d.tar.bz2
rockbox-29d7db4a46a773793d83cca9583f6aa403f5fa3d.zip
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
Diffstat (limited to 'apps/action.h')
-rw-r--r--apps/action.h1
1 files changed, 1 insertions, 0 deletions
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 }