ocarina/include/deck.h
Anna Schumaker 74da7beba1 deck: Add a library playqueue
When no songs are on the deck a track will be played from the library.

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

31 lines
476 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_DECK_H
#define OCARINA_DECK_H
#include <playqueue.h>
namespace deck
{
void init();
void read(File &);
void write(File &);
Playqueue *create();
void remove(unsigned int);
Playqueue *get(unsigned int);
void move(unsigned int, unsigned int);
unsigned int next();
Playqueue *get_library_pq();
#ifdef CONFIG_TEST
void reset();
void print_info();
#endif /* CONFIG_TEST */
};
#endif /* OCARINA_DECK_H */