]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/open_panels.hpp
Preferences: don't show empty boxes ('zoom' box bug)
[vlc] / modules / gui / qt4 / components / open_panels.hpp
index 393ca7433085f9e323a66048efcba4e955ad63c1..e2de731df174e39a114afbb996f9e62fd608fec6 100644 (file)
@@ -32,7 +32,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 
 #include <QFileDialog>
 
 
 #include "components/preferences_widgets.hpp"
 
-#ifdef HAVE_LIMITS_H
-#   include <limits.h>
-#endif
+#include <limits.h>
 
 #define setSpinBoxFreq( spinbox ){ spinbox->setRange ( 0, INT_MAX ); \
     spinbox->setAccelerated( true ); }
 
+enum
+{
+    NO_PROTO,
+    HTTP_PROTO,
+    HTTPS_PROTO,
+    MMS_PROTO,
+    FTP_PROTO,
+    RTSP_PROTO,
+    RTP_PROTO,
+    UDP_PROTO,
+    RTMP_PROTO
+};
+
+
 enum
 {
     V4L_DEVICE,
@@ -153,6 +165,7 @@ public slots:
 private slots:
     void browseDevice();
     void updateButtons() ;
+    void eject();
 };