summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2006-07-01 10:14:27 +0000
committerKevin Ferrare <kevin@rockbox.org>2006-07-01 10:14:27 +0000
commit0028b05f3ec112c55d1706a94edd96911ef95449 (patch)
tree873da3113b38be14fdc67205f9f5c9df2fa44012 /apps/plugin.h
parent4e819aa2afe54969152ea6e210e05707b6ff5e44 (diff)
downloadrockbox-0028b05f3ec112c55d1706a94edd96911ef95449.tar.gz
rockbox-0028b05f3ec112c55d1706a94edd96911ef95449.zip
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index b4990b8fb6..f27654049b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -7,7 +7,7 @@
7 * \/ \/ \/ \/ \/ 7 * \/ \/ \/ \/ \/
8 * $Id$ 8 * $Id$
9 * 9 *
10 * Copyright (C) 2002 Björn Stenberg 10 * Copyright (C) 2002 Bj�n Stenberg
11 * 11 *
12 * All files in this archive are subject to the GNU General Public License. 12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement. 13 * See the file COPYING in the source tree root for full license agreement.
@@ -104,7 +104,7 @@
104#define PLUGIN_MAGIC 0x526F634B /* RocK */ 104#define PLUGIN_MAGIC 0x526F634B /* RocK */
105 105
106/* increase this every time the api struct changes */ 106/* increase this every time the api struct changes */
107#define PLUGIN_API_VERSION 22 107#define PLUGIN_API_VERSION 23
108 108
109/* update this to latest version if a change to the api struct breaks 109/* update this to latest version if a change to the api struct breaks
110 backwards compatibility (and please take the opportunity to sort in any 110 backwards compatibility (and please take the opportunity to sort in any
@@ -521,6 +521,8 @@ struct plugin_api {
521 int* variable, void (*function)(int), int step, int min, 521 int* variable, void (*function)(int), int step, int min,
522 int max, void (*formatter)(char*, int, int, const char*) ); 522 int max, void (*formatter)(char*, int, int, const char*) );
523 void (*reload_directory)(void); 523 void (*reload_directory)(void);
524 bool (*set_bool)(const char* string, bool* variable );
525 struct screen* screens[NB_SCREENS];
524}; 526};
525 527
526/* plugin header */ 528/* plugin header */