#define _MAIN_INTERFACE_H_
#include <vlc/intf.h>
+#include "ui/main_interface.h"
#include "util/qvlcframe.hpp"
+#include <QMainWindow>
class InputManager;
class QCloseEvent;
class InputSlider;
-class MainInterface : public QVLCFrame
+class MainInterface : public QMainWindow
{
Q_OBJECT;
public:
MainInterface( intf_thread_t *);
virtual ~MainInterface();
- void init();
protected:
void closeEvent( QCloseEvent *);
private:
InputSlider *slider;
/// Main input associated to the playlist
input_thread_t *p_input;
+ intf_thread_t *p_intf;
+
+ Ui::MainInterfaceUI ui;
private slots:
+ void setDisplay( float, int, int );
void updateOnTimer();
-signals:
- void inputChanged( input_thread_t *);
+ void play();
+ void stop();
+ void prev();
+ void next();
};
#endif