33 lines
503 B
C++
33 lines
503 B
C++
/*
|
|
* Copyright 2013 (c) Anna Schumaker.
|
|
*/
|
|
#ifndef OCARINA_DECK_H
|
|
#define OCARINA_DECK_H
|
|
|
|
#include <queue.h>
|
|
|
|
namespace deck
|
|
{
|
|
|
|
void init();
|
|
void read();
|
|
void write();
|
|
|
|
Queue *create(bool);
|
|
void remove(unsigned int);
|
|
Queue *get(unsigned int);
|
|
unsigned int size();
|
|
void move(unsigned int, unsigned int);
|
|
void move(Queue *, unsigned int);
|
|
Track *next();
|
|
Queue *get_library_pq();
|
|
|
|
#ifdef CONFIG_TEST
|
|
void reset();
|
|
void print_info();
|
|
#endif /* CONFIG_TEST */
|
|
|
|
};
|
|
|
|
#endif /* OCARINA_DECK_H */
|