summaryrefslogtreecommitdiffstats
path: root/apps/tree.h
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2008-02-10 12:16:27 +0000
committerMagnus Holmgren <magnushol@gmail.com>2008-02-10 12:16:27 +0000
commit04dc828c9f7e76785b0478f3b1905c75c2eb5cb7 (patch)
tree83e960cce0c0cb8553787d0f89a63d6bd0fc0ee8 /apps/tree.h
parent05e82a45da2bddc0d88a4f77d0cd2b128458d355 (diff)
downloadrockbox-04dc828c9f7e76785b0478f3b1905c75c2eb5cb7.tar.gz
rockbox-04dc828c9f7e76785b0478f3b1905c75c2eb5cb7.tar.bz2
rockbox-04dc828c9f7e76785b0478f3b1905c75c2eb5cb7.zip
Better bookmark resume handling, in particular when resuming a directory. If Load Last Bookmark is set to Yes and the last bookmarked file could not be found, play the selected file instead. When selecting a bookmark for a missing file in the bookmark list, show a message that resume isn't possible (and don't play any selected file if Load Last Bookmark is set to Ask).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16267 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.h')
-rw-r--r--apps/tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.h b/apps/tree.h
index e49ac722b9..e6742d3c1a 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -82,6 +82,8 @@ struct tree_context* tree_get_context(void);
void tree_flush(void);
void tree_restore(void);
+bool bookmark_play(char* resume_file, int index, int offset, int seed,
+ char *filename);
extern struct gui_synclist tree_lists;
extern struct gui_syncstatusbar statusbars;