diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-07-31 22:45:10 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-08-17 10:15:14 -0400 |
commit | 35502834423049b319fde41ff305b48de67d2d51 (patch) | |
tree | 00d638d9348cd38f15cf6d341e700bc36153b3f8 /apps/settings_list.h | |
parent | d553bb1149800daf16dcb92bc0608fe6248e1dab (diff) | |
download | rockbox-35502834423049b319fde41ff305b48de67d2d51.tar.gz rockbox-35502834423049b319fde41ff305b48de67d2d51.zip |
Add open_plugin to core
open_plugin allows arbitrary plugins to be called
in hotkey and start screen
replaces PictureFlow Integration
shortcuts menu plays plugins now too
rather than store paths and parameters in the settings
that reside in memory instead entries in a file are searched by hash.
after all, the plugin has to be loaded from disk anyways
----------------------------------------------------------------------------
shortcut_viewer.rock-- can now call plugins rather than taking you to them
in the browser
-----------------------------------------------------------------------------
Added a new option to menus:
F_CB_ON_SELECT_ONLY
instead of option callback every time a item is accessed
F_CB_ON_SELECT_ONLY fires callback only when item is selected
-----------------------------------------------------------------------------
Added manual entries
-----------------------------------------------------------------------------
Change-Id: I078b57b1d2b4dd633c89212c1082fcbc1b516e6a
Diffstat (limited to 'apps/settings_list.h')
-rw-r--r-- | apps/settings_list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings_list.h b/apps/settings_list.h index 7f0ae6484f..36c4d8062f 100644 --- a/apps/settings_list.h +++ b/apps/settings_list.h | |||
@@ -100,6 +100,7 @@ struct table_setting { | |||
100 | }; | 100 | }; |
101 | #define F_TABLE_SETTING 0x2000 | 101 | #define F_TABLE_SETTING 0x2000 |
102 | #define F_ALLOW_ARBITRARY_VALS 0x4000 | 102 | #define F_ALLOW_ARBITRARY_VALS 0x4000 |
103 | #define F_CB_ON_SELECT_ONLY 0x20000 | ||
103 | /* these use the _isfunc_type type for the function */ | 104 | /* these use the _isfunc_type type for the function */ |
104 | /* typedef int (*_isfunc_type)(void); */ | 105 | /* typedef int (*_isfunc_type)(void); */ |
105 | #define F_MIN_ISFUNC 0x100000 /* min(above) is function pointer to above type */ | 106 | #define F_MIN_ISFUNC 0x100000 /* min(above) is function pointer to above type */ |