#ifndef _PLSEL_H_
#define _PLSEL_H_
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include "components/playlist/playlist_model.hpp"
+
#include <QWidget>
-#include <QString>
+
+class QTreeView;
+class PlaylistWidget;
class PLSelector: public QWidget
{
public:
PLSelector( QWidget *p, intf_thread_t *_p_intf );
virtual ~PLSelector();
+protected:
+ PLModel *model;
+ friend class PlaylistWidget;
private:
intf_thread_t *p_intf;
+ QTreeView *view;
+private slots:
+ void setSource( const QModelIndex& );
+signals:
+ void activated( int );
+ void shouldRemove( int );
};
#endif