1
0
Fork 0
forked from len0rd/rockbox

Added multi-screen API to the plugins API, made 'demystify plugin' use the remote display as well

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10167 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kevin Ferrare 2006-07-01 10:14:27 +00:00
parent 4e819aa2af
commit 0028b05f3e
5 changed files with 98 additions and 62 deletions

View file

@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2002 Björn Stenberg
* Copyright (C) 2002 Bj<EFBFBD>n Stenberg
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
@ -442,6 +442,12 @@ static const struct plugin_api rockbox_api = {
set_int,
reload_directory,
set_bool,
#if NB_SCREENS == 2
{&screens[SCREEN_MAIN], &screens[SCREEN_REMOTE]},
#else
{&screens[SCREEN_MAIN]},
#endif
};
int plugin_load(const char* plugin, void* parameter)