ocarina/include/gui/playlist.h
Anna Schumaker e550638823 gui/playlists/library: Write unit test for adding file paths
This functionality needs to be tested better.  I can't really test the
dialog, since it runs in the main thread, but I can test adding library
paths with the selected directory.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2017-04-03 10:33:19 -04:00

28 lines
723 B
C

/*
* Copyright 2016 (c) Anna Schumaker.
*/
#ifndef OCARINA_GUI_PLAYLIST_H
#define OCARINA_GUI_PLAYLIST_H
#include <core/playlist.h>
#include <gui/playlists/library.h>
/* Called to initialize the GUI playlist code. */
void gui_playlist_init();
/* Called to get the currently selected playlist. */
const gchar *gui_playlist_cur();
/* Called to add a library playlist. */
void gui_playlist_add_library(struct playlist *);
/* Called to add an artist playlist. */
void gui_playlist_add_artist(struct playlist *);
/* Called to add a user playlist. */
void gui_playlist_add_user(struct playlist *);
/* Playlist operations passed to core_init() */
extern struct queue_ops playlist_ops;
#endif /* OCARINA_GUI_PLAYLIST_H */