summaryrefslogtreecommitdiff
path: root/sources/prefs/VSPrefs.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2009-01-17 14:29:28 +0000
committerPaul Buetow <paul@buetow.org>2009-01-17 14:29:28 +0000
commitff0c70b54edbbe3436583d6491d4a56d96302de5 (patch)
tree2b63fc15e30d953e043018fc0c0aa2be54af94f1 /sources/prefs/VSPrefs.java
parentb5e0d976418e3373b3d518a1ca01fc542a2fe602 (diff)
added initial multiple langua support.
Diffstat (limited to 'sources/prefs/VSPrefs.java')
-rw-r--r--sources/prefs/VSPrefs.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index f5e68f3..31e1f22 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -36,6 +36,9 @@ import serialize.*;
* @author Paul C. Buetow
*/
public class VSPrefs {
+ /** Check if we want to overwrite description strings */
+ //private boolean useDefaultStrings = false;
+
/** The Constant BOOLEAN_PREFIX. */
public static final String BOOLEAN_PREFIX = "Boolean: ";
@@ -826,6 +829,14 @@ public class VSPrefs {
initUnit(LONG_PREFIX + key, unit);
}
+ /**
+ * Deletes the long.
+ *
+ * @param key the key
+ */
+ public synchronized void deleteLong(String key) {
+ longPrefs.remove(key);
+ }
/**
* Sets the long.
@@ -1187,4 +1198,13 @@ public class VSPrefs {
return allKeys;
}
+
+ /**
+ * Not overwrite description string defaults
+ */
+ /*
+ public void useDefaultStrings(boolean value) {
+ useDefaultStrings = value;
+ }
+ */
}