2016-01-01 19:58:30 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2016 (c) Anna Schumaker.
|
|
|
|
*/
|
|
|
|
#ifndef OCARINA_GUI_PLAYLIST_H
|
|
|
|
#define OCARINA_GUI_PLAYLIST_H
|
|
|
|
|
2016-01-04 08:15:55 -05:00
|
|
|
#include <core/playlist.h>
|
|
|
|
|
2016-01-01 19:58:30 -05:00
|
|
|
/* Called to initialize the GUI playlist code. */
|
|
|
|
void gui_playlist_init();
|
|
|
|
|
2016-01-04 08:15:55 -05:00
|
|
|
/* Called to get the currently selected playlist. */
|
2016-04-27 09:25:37 -04:00
|
|
|
gchar *gui_playlist_cur();
|
2016-01-04 08:15:55 -05:00
|
|
|
|
2016-05-11 08:09:27 -04:00
|
|
|
/* Called to add a library playlist. */
|
|
|
|
void gui_playlist_add_library(struct library *);
|
|
|
|
|
2016-05-15 19:53:59 -04:00
|
|
|
/* Called to add an artist playlist. */
|
|
|
|
void gui_playlist_add_artist(struct artist *);
|
|
|
|
|
2016-08-16 08:35:32 -04:00
|
|
|
/* Called to add a user playlist. */
|
|
|
|
void gui_playlist_add_user(struct playlist *);
|
|
|
|
|
2016-01-21 09:42:37 -05:00
|
|
|
/* Playlist operations passed to core_init() */
|
|
|
|
extern struct queue_ops playlist_ops;
|
|
|
|
|
2016-01-01 19:58:30 -05:00
|
|
|
#endif /* OCARINA_GUI_PLAYLIST_H */
|