2013-12-22 17:24:09 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
|
|
*/
|
2013-12-31 16:58:40 -05:00
|
|
|
#ifndef OCARINA_PLAYLIST_H
|
|
|
|
#define OCARINA_PLAYLIST_H
|
2013-12-22 17:24:09 -05:00
|
|
|
|
2013-12-31 15:44:44 -05:00
|
|
|
#include <list>
|
|
|
|
#include <set>
|
|
|
|
#include <string>
|
2013-12-22 17:53:58 -05:00
|
|
|
|
2013-12-31 16:58:40 -05:00
|
|
|
namespace playlist
|
2013-12-31 15:44:44 -05:00
|
|
|
{
|
2013-12-22 17:53:58 -05:00
|
|
|
|
2013-12-31 16:58:40 -05:00
|
|
|
void init();
|
2013-12-31 15:44:44 -05:00
|
|
|
void add(const std::string &, unsigned int);
|
|
|
|
void del(const std::string &, unsigned int);
|
|
|
|
const std::set<unsigned int> &get_tracks(const std::string &);
|
2013-12-22 20:53:06 -05:00
|
|
|
|
2013-12-31 16:58:40 -05:00
|
|
|
#ifdef CONFIG_TEST
|
|
|
|
void clear();
|
|
|
|
#endif /* CONFIG_TEST */
|
2013-12-22 17:24:09 -05:00
|
|
|
};
|
|
|
|
|
2013-12-31 16:58:40 -05:00
|
|
|
#endif /* OCARINA_PLAYLIST_H */
|