summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-10-21 14:47:55 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-10-21 14:47:55 +0000
commit9afce4d35997ce0883474d3f978aa570b7233f03 (patch)
tree91641c02af223f9b3776662ce2ed3a9eab59afe2 /apps/plugin.h
parente918edc48b6e79bcaf0128d562f9fb25a3e0b3ff (diff)
downloadrockbox-9afce4d35997ce0883474d3f978aa570b7233f03.zip
rockbox-9afce4d35997ce0883474d3f978aa570b7233f03.tar.gz
rockbox-9afce4d35997ce0883474d3f978aa570b7233f03.tar.bz2
rockbox-9afce4d35997ce0883474d3f978aa570b7233f03.tar.xz
Disk spindown control during jpeg slideshow: for times below 10s, keep the disk spinning, for longer times spin down the disk immediately after loading the picture. Inspired by #FS5653 (Paul Jam / Gwen Roelants) and Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 461c0d8..609f4cc 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -105,7 +105,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 32
+#define PLUGIN_API_VERSION 33
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -552,6 +552,7 @@ struct plugin_api {
int (*wheel_status)(void);
void (*wheel_send_events)(bool send);
#endif
+ void (*ata_spindown)(int seconds);
};
/* plugin header */