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
|
|
|
|
2014-06-05 10:19:22 -04:00
|
|
|
#include <core/index.h>
|
|
|
|
#include <core/queue.h>
|
2014-02-02 14:05:56 -05:00
|
|
|
|
2013-12-31 15:44:44 -05:00
|
|
|
#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();
|
2014-05-18 21:09:46 -04:00
|
|
|
bool has(Track *, const std::string &);
|
|
|
|
void add(Track *, const std::string &);
|
|
|
|
void del(Track *, const std::string &);
|
2014-02-02 14:05:56 -05:00
|
|
|
void select(const std::string &);
|
2014-05-18 21:09:46 -04:00
|
|
|
IndexEntry *get_tracks(const std::string &);
|
|
|
|
Queue *get_queue();
|
2013-12-22 20:53:06 -05:00
|
|
|
|
2013-12-22 17:24:09 -05:00
|
|
|
};
|
|
|
|
|
2013-12-31 16:58:40 -05:00
|
|
|
#endif /* OCARINA_PLAYLIST_H */
|