0e4c05350a
And prevent tabs from being moved into the perma-tab area. Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
33 lines
529 B
C++
33 lines
529 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(bool);
|
|
void remove(unsigned int);
|
|
Playqueue *get(unsigned int);
|
|
unsigned int size();
|
|
void move(unsigned int, unsigned int);
|
|
void move(Playqueue *, unsigned int);
|
|
unsigned int next();
|
|
Playqueue *get_library_pq();
|
|
|
|
#ifdef CONFIG_TEST
|
|
void reset();
|
|
void print_info();
|
|
#endif /* CONFIG_TEST */
|
|
|
|
};
|
|
|
|
#endif /* OCARINA_DECK_H */
|