ocarina/include/deck.h
Anna Schumaker a98443872c deck: Save the deck whenever a queue changes
I read in the saved file when init() is called.

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

31 lines
464 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_DECK_H
#define OCARINA_DECK_H
#include <playqueue.h>
namespace deck
{
void init();
void read();
void write();
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 */