30 lines
344 B
C++
30 lines
344 B
C++
|
/*
|
||
|
* Copyright 2013 (c) Anna Schumaker.
|
||
|
*/
|
||
|
|
||
|
#include <playlist.h>
|
||
|
|
||
|
Playlist :: Playlist(playlist_flags f)
|
||
|
: flags(f)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
Playlist :: ~Playlist()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void Playlist :: set_flag(playlist_flags f)
|
||
|
{
|
||
|
flags |= f;
|
||
|
}
|
||
|
|
||
|
void Playlist :: unset_flag(playlist_flags f)
|
||
|
{
|
||
|
flags &= ~f;
|
||
|
}
|
||
|
|
||
|
const unsigned int Playlist :: get_flags()
|
||
|
{
|
||
|
return flags;
|
||
|
}
|