ocarina/include/gui/playlists/library.h
Anna Schumaker 4d68ce8ce6 gui/playlists/library: Return a new playlist pointer
This pointer can be used immediately by testing code instead of simply
looking at the return status.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2017-04-28 09:40:02 -04:00

20 lines
517 B
C

/*
* Copyright 2015 (c) Anna Schumaker.
*/
#ifndef OCARINA_GUI_PLAYLISTS_LIBRARY_H
#define OCARINA_GUI_PLAYLISTS_LIBRARY_H
/* Called to initialize GUI library playlists. */
void gui_pl_library_init();
/* Called to add a library path. */
struct playlist *gui_pl_library_add(const gchar *);
/* Called to update a library path. */
void gui_pl_library_update(struct playlist *);
/* Called to select a library playlist. */
void gui_pl_library_select(struct playlist *);
#endif /* OCARINA_GUI_PLAYLISTS_LIBRARY_H */