Qt4 - Use enum instead of defines.
[vlc.git] / modules / gui / qt4 / dialogs_provider.hpp
index c2673f2..f7d6989 100644 (file)
     string += qtr( "All Files" );      \
     string += " (*.*)";
 
-#define EXT_FILTER_MEDIA        0x01
-#define EXT_FILTER_VIDEO        0x02
-#define EXT_FILTER_AUDIO        0x04
-#define EXT_FILTER_PLAYLIST     0x08
-#define EXT_FILTER_SUBTITLE     0x10
+enum {
+    EXT_FILTER_MEDIA     =  0x01,
+    EXT_FILTER_VIDEO     =  0x02,
+    EXT_FILTER_AUDIO     =  0x04,
+    EXT_FILTER_PLAYLIST  =  0x08,
+    EXT_FILTER_SUBTITLE  =  0x10,
+};
 
 enum {
     OPEN_FILE_TAB,