diff options
| author | Magnus Holmgren <magnushol@gmail.com> | 2007-02-17 13:36:44 +0000 |
|---|---|---|
| committer | Magnus Holmgren <magnushol@gmail.com> | 2007-02-17 13:36:44 +0000 |
| commit | 14ba91eaa9a94411457cc396a4c7c5e39e63a00a (patch) | |
| tree | a550e288bda8052a05feb5355df0a16f39897466 /apps/misc.h | |
| parent | 471d881979e0027737a435fd03efea493ea696f3 (diff) | |
| download | rockbox-14ba91eaa9a94411457cc396a4c7c5e39e63a00a.zip rockbox-14ba91eaa9a94411457cc396a4c7c5e39e63a00a.tar.gz rockbox-14ba91eaa9a94411457cc396a4c7c5e39e63a00a.tar.bz2 rockbox-14ba91eaa9a94411457cc396a4c7c5e39e63a00a.tar.xz | |
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index f273631..f127d6a 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, |