]> git.sesse.net Git - vlc/commitdiff
Qt4 - Use enum instead of defines.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 6 Dec 2007 08:01:41 +0000 (08:01 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 6 Dec 2007 08:01:41 +0000 (08:01 +0000)
modules/gui/qt4/dialogs_provider.hpp

index c2673f2f88ff86239358b69b93cf00c7d176050f..f7d6989fbb36009170e54ff91736d9e18ea543e2 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,