libsaria: Remove remaining PlaylistRenderer code

I didn't realize this was still around.  It should be removed since I
switched to a notification system instead of using the renderer.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-11-02 21:43:32 -04:00
parent 0a4e4d9085
commit c67222ab95
2 changed files with 1 additions and 16 deletions

View File

@ -22,8 +22,7 @@ enum PlaylistFlags {
namespace libsaria
{
/* Forward declaration of PlaylistRenderer class */
class PlaylistRenderer;
/* Forward declaration of Track class */
class Track;
class Playlist {
@ -54,7 +53,6 @@ namespace libsaria
protected:
string name;
list<Track *> plist;
PlaylistRenderer *renderer;
void pick_random();
void pick_sequential();
@ -63,8 +61,6 @@ namespace libsaria
public:
Playlist(string, unsigned int);
virtual ~Playlist();
void set_renderer(PlaylistRenderer *);
PlaylistRenderer *get_renderer();
void push_front(Track *);
void push_back(Track *);

View File

@ -13,7 +13,6 @@ namespace libsaria
number = -1;
flags = f;
length = 0;
renderer = NULL;
cur = plist.begin();
}
@ -127,16 +126,6 @@ namespace libsaria
return length;
}
void Playlist::set_renderer(PlaylistRenderer *r)
{
renderer = r;
}
PlaylistRenderer *Playlist::get_renderer()
{
return renderer;
}
void Playlist::reset_iterator()
{
cur = plist.begin();