Browse Source

Add FileBrowser to PreferencesType enum

Related to issue 1279

Change-Id: I5feb28c328a5cd07f9e95647976cb5777ba047f4
Reviewed-on: http://gerrit.dmdirc.com/868
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Gregory Holmes <greg@dmdirc.com>
tags/0.6.4rc1
Simon Mott 14 years ago
parent
commit
b667c29739
1 changed files with 9 additions and 4 deletions
  1. 9
    4
      src/com/dmdirc/config/prefs/PreferencesType.java

+ 9
- 4
src/com/dmdirc/config/prefs/PreferencesType.java View File

@@ -23,11 +23,11 @@ package com.dmdirc.config.prefs;
23 23
 
24 24
 /**
25 25
  * Enumerates the possible types of preferences.
26
- * 
26
+ *
27 27
  * @author chris
28 28
  */
29 29
 public enum PreferencesType {
30
-    
30
+
31 31
     /** A free-form text preference. */
32 32
     TEXT,
33 33
     /** A free-form integer preference. */
@@ -45,6 +45,11 @@ public enum PreferencesType {
45 45
     /** A duration specified in milliseconds. */
46 46
     DURATION,
47 47
     /** Font type. */
48
-    FONT;
49
-
48
+    FONT,
49
+    /** File-Only browse component */
50
+    FILE,
51
+    /** Directory-Only browse component */
52
+    DIRECTORY,
53
+    /** File or Directory browse component */
54
+    FILES_AND_DIRECTORIES;
50 55
 }

Loading…
Cancel
Save