[vlc-devel] commit: Qt: reserve space for future events handling. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Jan 2 16:03:04 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan  2 15:36:21 2009 +0100| [c2af399f1a493bfb74b657a9694d628f55965387] | committer: Jean-Baptiste Kempf 

Qt: reserve space for future events handling.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2af399f1a493bfb74b657a9694d628f55965387
---

 modules/gui/qt4/input_manager.cpp |   10 +++++++++-
 modules/gui/qt4/input_manager.hpp |    4 ++++
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 86e8547..e41895d 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -836,10 +836,18 @@ static int InputEvent( vlc_object_t *p_this, const char *,
         event = new IMEvent( CachingEvent_Type, 0 );
         break;
 
+    case INPUT_EVENT_BOOKMARK:
+        /* event = new IMEvent( BookmarkChanged_Type, 0 );
+        break; */
     case INPUT_EVENT_PROGRAM:
+        /* event = new IMEvent( ProgramChanged_Type, 0 );
+        break; */
     case INPUT_EVENT_RECORD:
+        /* event = new IMEvent( RecordingEvent_Type, 0 );
+        break; */
     case INPUT_EVENT_SIGNAL:
-    case INPUT_EVENT_BOOKMARK:
+        /* event = new IMEvent( SignalChanged_Type, 0 );
+        break; */
     default:
         event = NULL;
         break;
diff --git a/modules/gui/qt4/input_manager.hpp b/modules/gui/qt4/input_manager.hpp
index 057a0b2..35c1de9 100644
--- a/modules/gui/qt4/input_manager.hpp
+++ b/modules/gui/qt4/input_manager.hpp
@@ -53,6 +53,10 @@ enum {
     InfoChanged_Type,
     SynchroChanged_Type,
     CachingEvent_Type,
+/*    BookmarkChanged_Type,
+    RecordingEvent_Type,
+    ProgramChanged_Type,
+    SignalChanged_Type, */
 
     FullscreenControlToggle_Type = QEvent::User + IMEventType + 20,
     FullscreenControlShow_Type,




More information about the vlc-devel mailing list