ocarina/include/playlist.h
Anna Schumaker 11df56139d playlist: Update the design and unit test
I updated the code to better match how I use playlists and to make sure
that everything is tested.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-18 21:34:14 -04:00

26 lines
456 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_PLAYLIST_H
#define OCARINA_PLAYLIST_H
#include <index.h>
#include <queue.h>
#include <string>
namespace playlist
{
void init();
bool has(Track *, const std::string &);
void add(Track *, const std::string &);
void del(Track *, const std::string &);
void select(const std::string &);
IndexEntry *get_tracks(const std::string &);
Queue *get_queue();
};
#endif /* OCARINA_PLAYLIST_H */