ocarina/include/playlist.h
Anna Schumaker 114c22bb12 playlist: Implement reachitecting of playlists
I changed the two playlists that are supported, added in exception
handling, and removed the list() function since I will always know the
names of playlists.  I also rename everything to "playlist" from
"group".

Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
2014-04-06 19:56:57 -04:00

25 lines
438 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_PLAYLIST_H
#define OCARINA_PLAYLIST_H
#include <list>
#include <set>
#include <string>
namespace playlist
{
void init();
void add(const std::string &, unsigned int);
void del(const std::string &, unsigned int);
const std::set<unsigned int> &get_tracks(const std::string &);
#ifdef CONFIG_TEST
void clear();
#endif /* CONFIG_TEST */
};
#endif /* OCARINA_PLAYLIST_H */