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:
parent
4e819aa2af
commit
0028b05f3e
5 changed files with 98 additions and 62 deletions
|
|
@ -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.
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 22
|
||||
#define PLUGIN_API_VERSION 23
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
|
|
@ -521,6 +521,8 @@ struct plugin_api {
|
|||
int* variable, void (*function)(int), int step, int min,
|
||||
int max, void (*formatter)(char*, int, int, const char*) );
|
||||
void (*reload_directory)(void);
|
||||
bool (*set_bool)(const char* string, bool* variable );
|
||||
struct screen* screens[NB_SCREENS];
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue