]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/main_interface.hpp
Skeleton for open
[vlc] / modules / gui / qt4 / main_interface.hpp
index 82c84a8fb2c599870906f1c06eefdce71e51a70b..44e4fbc7e5de9c9017e2aa900eae4f16fcc62981 100644 (file)
 #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:
@@ -44,10 +45,16 @@ 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