changeset 35973:d1301d4ca6d8

Make #defines enums. Additionally, add doxygen comment.
author ib
date Thu, 28 Mar 2013 16:16:13 +0000
parents 0e6cd2cc0824
children 3ccb13092e88
files gui/dialog/fileselect.h
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.h	Thu Mar 28 15:58:21 2013 +0000
+++ b/gui/dialog/fileselect.h	Thu Mar 28 16:16:13 2013 +0000
@@ -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;