ocarina/include/libsaria/renderer.h
Bryan Schumaker 5bce295251 Add a PLAYLIST_DELETE notification
Triggered when a playlist is garbage collected so the UI can remove the
tab.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-09-02 13:35:48 -04:00

31 lines
543 B
C++

#ifndef LIBSARIA_PLAYLIST_RENDERER_H
#define LIBSARIA_PLAYLIST_RENDERER_H
#include <libsaria/playlist.h>
namespace libsaria
{
class PlaylistRenderer {
private:
unsigned int flags;
protected:
Playlist *playlist;
public:
PlaylistRenderer(unsigned int);
virtual ~PlaylistRenderer();
void set_playlist(Playlist *);
Playlist *get_playlist();
bool is_static();
virtual void on_disable(bool);
virtual void goto_index(unsigned int);
};
}; /* Namespace: libsaria */
#endif /* LIBSARIA_PLAYLIST_RENDERER_H */