path: root/apps/misc.h
diff options
authorNils Wallménius <>2008-05-01 10:13:12 +0000
committerNils Wallménius <>2008-05-01 10:13:12 +0000
commitdabcb81e1380aeab8e50a64efcc1dc4a59145094 (patch)
tree6d7f5067169739faf7b4bb874386542f57abe768 /apps/misc.h
parente02d031f4ce5da08770b784f17795e5f490d3481 (diff)
Introduce a small helper function that asks the user if the dynamic playlist should be erased to increase code re-use
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h
index c6a91646b8..4d0226ae51 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -69,6 +69,10 @@ char *create_datetime_filename(char *buffer, const char *path,
bool unique_time);
#endif /* CONFIG_RTC */
+/* Ask the user if they really want to erase the current dynamic playlist
+ * returns true if the playlist should be replaced */
+bool warn_on_pl_erase(void);
/* Read (up to) a line of text from fd into buffer and return number of bytes
* read (which may be larger than the number of bytes stored in buffer). If
* an error occurs, -1 is returned (and buffer contains whatever could be