summaryrefslogtreecommitdiff
path: root/apps/playlist_catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_catalog.h')
-rw-r--r--apps/playlist_catalog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playlist_catalog.h b/apps/playlist_catalog.h
index bb16e2dad9..fb71821093 100644
--- a/apps/playlist_catalog.h
+++ b/apps/playlist_catalog.h
@@ -41,9 +41,13 @@ bool catalog_view_playlists(void);
41 * new_playlist : whether we want to create a new playlist or add to an 41 * new_playlist : whether we want to create a new playlist or add to an
42 * existing one. 42 * existing one.
43 * m3u8name : filename to save the playlist to, NULL to show the keyboard 43 * m3u8name : filename to save the playlist to, NULL to show the keyboard
44 * add_to_pl_cb : can be NULL, or a function responsible for handling the
45 * insert operations itself, in case the caller wants full
46 * control over how and what files are actually added.
44 * ret : true if the file was successfully added 47 * ret : true if the file was successfully added
45 */ 48 */
46bool catalog_add_to_a_playlist(const char* sel, int sel_attr, 49bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
47 bool new_playlist, char* m3u8name); 50 bool new_playlist, char* m3u8name,
51 void (*add_to_pl_cb));
48 52
49#endif 53#endif