ocarina/include/deck.h
Anna Schumaker b8b215be35 deck: Save and restore the playlist deck
The read and write functions will be called by a higher up layer, so I
need to open the file manually in the test.

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

29 lines
431 B
C++

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