]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/input_manager.hpp
Revert "Qt4: small loop change"
[vlc] / modules / gui / qt4 / input_manager.hpp
index 6a856f151890882ceec39a3407569627b7bb0d32..36549844f0ba8097fba12e23062f4aec0e9adda9 100644 (file)
@@ -62,6 +62,7 @@ enum {
     LoopChanged_Type,
     RepeatChanged_Type,
     LeafToParent_Type,
+    EPGEvent_Type,
 /*    SignalChanged_Type, */
 
     FullscreenControlToggle_Type = QEvent::User + IMEventType + 20,
@@ -113,7 +114,7 @@ public:
 
 class InputManager : public QObject
 {
-    Q_OBJECT;
+    Q_OBJECT
     friend class MainInputManager;
 
 public:
@@ -144,7 +145,7 @@ private:
     int             i_old_playing_status;
     QString         oldName;
     QString         artUrl;
-    int             i_rate;
+    float           f_rate;
     float           f_cache;
     bool            b_video;
     mtime_t         timeA, timeB;
@@ -170,6 +171,7 @@ private:
     void UpdateCaching();
     void UpdateRecord();
     void UpdateProgramEvent();
+    void UpdateEPG();
 
 public slots:
     void setInput( input_thread_t * ); ///< Our controlled input changed
@@ -204,7 +206,7 @@ signals:
     /// Send new position, new time and new length
     void positionUpdated( float , int64_t, int );
     void seekRequested( float pos );
-    void rateChanged( int );
+    void rateChanged( float );
     void nameChanged( const QString& );
     /// Used to signal whether we should show navigation buttons
     void titleChanged( bool );
@@ -234,11 +236,12 @@ signals:
     void cachingChanged( float );
     /// Program Event changes
     void encryptionChanged( bool );
+    void epgChanged();
 };
 
 class MainInputManager : public QObject
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
     static MainInputManager *getInstance( intf_thread_t *_p_intf )
     {