summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-07-31 22:45:10 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-08-17 10:15:14 -0400
commit35502834423049b319fde41ff305b48de67d2d51 (patch)
tree00d638d9348cd38f15cf6d341e700bc36153b3f8 /apps/gui/wps.c
parentd553bb1149800daf16dcb92bc0608fe6248e1dab (diff)
downloadrockbox-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/gui/wps.c')
-rw-r--r--apps/gui/wps.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 8d0453385b..8a51d9b810 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -687,10 +687,8 @@ long gui_wps_show(void)
687 return GO_TO_ROOT; 687 return GO_TO_ROOT;
688 else if (retval == ONPLAY_PLAYLIST) 688 else if (retval == ONPLAY_PLAYLIST)
689 return GO_TO_PLAYLIST_VIEWER; 689 return GO_TO_PLAYLIST_VIEWER;
690#ifdef HAVE_PICTUREFLOW_INTEGRATION 690 else if (retval == ONPLAY_PLUGIN)
691 else if (retval == ONPLAY_PICTUREFLOW) 691 return GO_TO_PLUGIN;
692 return GO_TO_PICTUREFLOW;
693#endif
694 restore = true; 692 restore = true;
695 } 693 }
696 break; 694 break;