summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-28 22:20:27 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-28 22:20:27 +0000
commitbd3d297b3186185d43dff5924f80545f736db446 (patch)
tree0c34dc230305b5af5329cf0e6ac8f56a04eb6f6e /apps/plugin.h
parentfc2fc47d016e3042a19c6dda5d79a6bf0c445f87 (diff)
downloadrockbox-bd3d297b3186185d43dff5924f80545f736db446.tar.gz
rockbox-bd3d297b3186185d43dff5924f80545f736db446.zip
A checkbox widget
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e017247e77..720e4b20f3 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -50,7 +50,7 @@
50/* update this to latest version if a change to the api struct breaks 50/* update this to latest version if a change to the api struct breaks
51 backwards compatibility (and please take the opportunity to sort in any 51 backwards compatibility (and please take the opportunity to sort in any
52 new function which are "waiting" at the end of the function table) */ 52 new function which are "waiting" at the end of the function table) */
53#define PLUGIN_MIN_API_VERSION 9 53#define PLUGIN_MIN_API_VERSION 10
54 54
55/* plugin return codes */ 55/* plugin return codes */
56enum plugin_status { 56enum plugin_status {
@@ -207,6 +207,9 @@ struct plugin_api {
207#ifndef SIMULATOR 207#ifndef SIMULATOR
208 int (*ata_sleep)(void); 208 int (*ata_sleep)(void);
209#endif 209#endif
210#ifdef HAVE_LCD_BITMAP
211 void (*checkbox)(int x, int y, int width, int height, bool checked);
212#endif
210}; 213};
211 214
212/* defined by the plugin loader (plugin.c) */ 215/* defined by the plugin loader (plugin.c) */