]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/input_manager.hpp
s/Paste MRL/Paste Location/
[vlc] / modules / gui / qt4 / input_manager.hpp
index b76358314f43552cfe5c82d8e20ac69c4569167a..19af8ac60106bfebb605632990f4da0ed0ceb1be 100644 (file)
@@ -30,6 +30,8 @@
 #endif
 
 #include <vlc_input.h>
+#include <vlc_vout.h>
+#include <vlc_aout.h>
 
 #include "qt4.hpp"
 
@@ -55,8 +57,8 @@ enum {
     SynchroChanged_Type,
     CachingEvent_Type,
     BookmarksChanged_Type,
-/*    RecordingEvent_Type,
-    ProgramChanged_Type,
+    RecordingEvent_Type,
+/*    ProgramChanged_Type,
     SignalChanged_Type, */
 
     FullscreenControlToggle_Type = QEvent::User + IMEventType + 20,
@@ -97,6 +99,7 @@ public:
 
     bool hasAudio();
     bool hasVideo() { return hasInput() && b_video; }
+    void requestArtUpdate();
 
     QString getName() { return oldName; }
 
@@ -126,10 +129,12 @@ private:
     void UpdateArt();
     void UpdateInfo();
     void UpdateMeta();
+    void UpdateMeta(int);
     void UpdateVout();
     void UpdateAout();
     void UpdateStats();
     void UpdateCaching();
+    void UpdateRecord();
 
     void AtoBLoop( int );
 
@@ -142,6 +147,9 @@ public slots:
     void faster();
     void normalRate();
     void setRate( int );
+    /* Jumping */
+    void jumpFwd();
+    void jumpBwd();
     /* Menus */
     void sectionNext();
     void sectionPrev();
@@ -149,7 +157,6 @@ public slots:
     /* Teletext */
     void telexSetPage( int );          ///< Goto teletext page
     void telexSetTransparency( bool ); ///< Transparency on teletext background
-    void telexActivation( bool );      ///< Enable disable teletext buttons
     void activateTeletext( bool );     ///< Toggle buttons after click
     /* A to B Loop */
     void setAtoB();
@@ -169,9 +176,11 @@ signals:
     void statisticsUpdated( input_item_t* );
     void infoChanged( input_item_t* );
     void metaChanged( input_item_t* );
-    void artChanged( input_item_t* );
+    void metaChanged( int );
+    void artChanged( QString );
     /// Play/pause status
     void statusChanged( int );
+    void recordingStateChanged( bool );
     /// Teletext
     void teletextPossible( bool );
     void teletextActivated( bool );
@@ -181,10 +190,14 @@ signals:
     void AtoBchanged( bool, bool );
     /// Vout
     void voutChanged( bool );
+    void voutListChanged( vout_thread_t **pp_vout, int i_vout );
+    /// Other
     void synchroChanged();
     void bookmarksChanged();
     void cachingChanged( float );
-    void voutListChanged( vout_thread_t **pp_vout, int i_vout );
+#if 0
+    void encryptionChanged( bool );
+#endif
 };
 
 class MainInputManager : public QObject
@@ -206,6 +219,9 @@ public:
     input_thread_t *getInput() { return p_input; };
     InputManager *getIM() { return im; };
 
+    vout_thread_t* getVout();
+    aout_instance_t *getAout();
+
 private:
     MainInputManager( intf_thread_t * );
     static MainInputManager *instance;