From 14ba91eaa9a94411457cc396a4c7c5e39e63a00a Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sat, 17 Feb 2007 13:36:44 +0000 Subject: 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 --- apps/misc.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/misc.h') 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, char *create_numbered_filename(char *buffer, const char *path, const char *prefix, const char *suffix, int numberlen IF_CNFN_NUM_(, int *num)); + +/* Format time into buf. + * + * buf - buffer to format to. + * buf_size - size of buffer. + * t - time to format, in milliseconds. + */ +void format_time(char* buf, int buf_size, long t); + #ifdef CONFIG_RTC /* Create a filename with a date+time part. It is allowed that buffer and path point to the same memory location, -- cgit v1.2.3