summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h13
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 */
94void format_time(char* buf, int buf_size, long t); 94void format_time(char* buf, int buf_size, long t);
95 95
96const 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 */
101char* string_sleeptimer(char *buffer, size_t buffer_len);
102int toggle_sleeptimer(void);
103void talk_sleeptimer(void);
104
105#if CONFIG_RTC
106void 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 */
98bool warn_on_pl_erase(void); 111bool warn_on_pl_erase(void);