Triggered when a playlist is garbage collected so the UI can remove the tab. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
31 lines
543 B
C++
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 */
|