diff options
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index fd48ccf648..28a982d1da 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -93,6 +93,19 @@ const char *format_time_auto(char *buffer, int buf_len, long value, | |||
93 | */ | 93 | */ |
94 | void format_time(char* buf, int buf_size, long t); | 94 | void format_time(char* buf, int buf_size, long t); |
95 | 95 | ||
96 | const char* format_sleeptimer(char* buffer, size_t buffer_size, | ||
97 | int value, const char* unit); | ||
98 | |||
99 | /* A string representation of either whether a sleep timer will be started or | ||
100 | canceled, and how long it will be or how long is remaining in brackets */ | ||
101 | char* string_sleeptimer(char *buffer, size_t buffer_len); | ||
102 | int toggle_sleeptimer(void); | ||
103 | void talk_sleeptimer(void); | ||
104 | |||
105 | #if CONFIG_RTC | ||
106 | void talk_timedate(void); | ||
107 | #endif | ||
108 | |||
96 | /* Ask the user if they really want to erase the current dynamic playlist | 109 | /* Ask the user if they really want to erase the current dynamic playlist |
97 | * returns true if the playlist should be replaced */ | 110 | * returns true if the playlist should be replaced */ |
98 | bool warn_on_pl_erase(void); | 111 | bool warn_on_pl_erase(void); |