Changeset 776 for java/ProgramSettings
- Timestamp:
- Apr 2, 2013, 2:16:52 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/ProgramSettings/src/net/oni2/SettingsManager.java
r726 r776 9 9 import java.util.HashMap; 10 10 11 12 11 import com.thoughtworks.xstream.XStream; 13 12 import com.thoughtworks.xstream.io.xml.StaxDriver; … … 25 24 26 25 private static boolean debugRun = false; 26 private static boolean useWorkingDir = false; 27 27 28 28 private HashMap<String, Object> prefs = new HashMap<String, Object>(); … … 55 55 public static boolean isDebug() { 56 56 return debugRun; 57 } 58 59 /** 60 * @param useWd 61 * Use working directory instead of jar path 62 */ 63 public static void setUseWorkingDir(boolean useWd) { 64 useWorkingDir = useWd; 65 } 66 67 /** 68 * @return Do we want to use working directory 69 */ 70 public static boolean getUseWorkingDir() { 71 return useWorkingDir; 57 72 } 58 73
Note:
See TracChangeset
for help on using the changeset viewer.