[MPlayer-cvslog] r36067 - trunk/gui/dialog/fileselect.h

ib subversion at mplayerhq.hu
Thu Mar 28 17:16:13 CET 2013


Author: ib
Date: Thu Mar 28 17:16:13 2013
New Revision: 36067

Log:
Make #defines enums.

Additionally, add doxygen comment.

Modified:
   trunk/gui/dialog/fileselect.h

Modified: trunk/gui/dialog/fileselect.h
==============================================================================
--- trunk/gui/dialog/fileselect.h	Thu Mar 28 16:58:21 2013	(r36066)
+++ trunk/gui/dialog/fileselect.h	Thu Mar 28 17:16:13 2013	(r36067)
@@ -21,11 +21,13 @@
 
 #include <gtk/gtk.h>
 
-#define fsVideoSelector    0
-#define fsSubtitleSelector 1
-//#define fsOtherSelector    2
-#define fsAudioSelector    3
-#define fsFontSelector     4
+/// File Selector types
+enum {
+    fsVideoSelector,
+    fsSubtitleSelector,
+    fsAudioSelector,
+    fsFontSelector
+};
 
 extern GtkWidget *fsFileSelect;
 


More information about the MPlayer-cvslog mailing list