summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorHristo Kovachev <bger@rockbox.org>2006-02-18 20:51:34 +0000
committerHristo Kovachev <bger@rockbox.org>2006-02-18 20:51:34 +0000
commitcc6f37b8d8aeaeeacdac0babdae1abeee846d0d1 (patch)
tree60b2168c162e8f54866eef6d986e95cdcbe01b4d /apps/plugin.h
parent3ba5a0b24a72b8b694be5ae2ef224aef18136dd1 (diff)
downloadrockbox-cc6f37b8d8aeaeeacdac0babdae1abeee846d0d1.zip
rockbox-cc6f37b8d8aeaeeacdac0babdae1abeee846d0d1.tar.gz
rockbox-cc6f37b8d8aeaeeacdac0babdae1abeee846d0d1.tar.bz2
rockbox-cc6f37b8d8aeaeeacdac0babdae1abeee846d0d1.tar.xz
"Next/Previous jpeg from within the JPEG viewer" addition by Alexander Spyridakis, modified a bit by me
Also tries to use the plugin buffer instead of the audio buffer on the platforms with more than 130kb plugin buffer size (thus not stopping the music playback). If the free buffer from the plugin buffer is not enough, asks for stopping playback. Needs a little more work, but seems stable as it is. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8728 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 286ca40..7c35902 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -45,6 +45,7 @@
#include "mpeg.h"
#include "audio.h"
#include "mp3_playback.h"
+#include "tree.h"
#ifdef RB_PROFILE
#include "profile.h"
#endif
@@ -97,7 +98,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 7
+#define PLUGIN_API_VERSION 8
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -466,7 +467,9 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
-
+
+ struct tree_context* (*tree_get_context)(void);
+
};
/* plugin header */