summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-02-17 13:36:44 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-02-17 13:36:44 +0000
commit14ba91eaa9a94411457cc396a4c7c5e39e63a00a (patch)
treea550e288bda8052a05feb5355df0a16f39897466 /apps/misc.h
parent471d881979e0027737a435fd03efea493ea696f3 (diff)
downloadrockbox-14ba91eaa9a94411457cc396a4c7c5e39e63a00a.tar.gz
rockbox-14ba91eaa9a94411457cc396a4c7c5e39e63a00a.zip
A few more bookmark code tweaks. Also improves how the bookmark selection screen is displayed on Archos players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12350 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h
index f273631030..f127d6acbf 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -49,6 +49,15 @@ char *output_dyn_value(char *buf, int buf_size, int value,
49char *create_numbered_filename(char *buffer, const char *path, 49char *create_numbered_filename(char *buffer, const char *path,
50 const char *prefix, const char *suffix, 50 const char *prefix, const char *suffix,
51 int numberlen IF_CNFN_NUM_(, int *num)); 51 int numberlen IF_CNFN_NUM_(, int *num));
52
53/* Format time into buf.
54 *
55 * buf - buffer to format to.
56 * buf_size - size of buffer.
57 * t - time to format, in milliseconds.
58 */
59void format_time(char* buf, int buf_size, long t);
60
52#ifdef CONFIG_RTC 61#ifdef CONFIG_RTC
53/* Create a filename with a date+time part. 62/* Create a filename with a date+time part.
54 It is allowed that buffer and path point to the same memory location, 63 It is allowed that buffer and path point to the same memory location,