27 lines
429 B
C
27 lines
429 B
C
|
/*
|
||
|
* Copyright 2013 (c) Anna Schumaker.
|
||
|
*/
|
||
|
#ifndef OCARINA_PLAYLIST_H
|
||
|
#define OCARINA_PLAYLIST_H
|
||
|
|
||
|
enum playlist_flags {
|
||
|
PL_ENABLED = (1 << 0),
|
||
|
PL_RANDOM = (1 << 1),
|
||
|
PL_LOCKED = (1 << 2),
|
||
|
};
|
||
|
|
||
|
class Playlist {
|
||
|
private:
|
||
|
unsigned int flags;
|
||
|
|
||
|
public:
|
||
|
Playlist(playlist_flags);
|
||
|
~Playlist();
|
||
|
|
||
|
void set_flag(playlist_flags);
|
||
|
void unset_flag(playlist_flags);
|
||
|
const unsigned int get_flags();
|
||
|
};
|
||
|
|
||
|
#endif /* OCARINA_PLAYLIST_H */
|