comparison mde/options.d @ 18:56a42ec95024

Changes to Init and logging. Moved an Init function; hence events now depends on Init rather than vice-versa. Paths and logging set up by Init's static this(). Logging location set at compile time. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 18 Mar 2008 17:51:52 +0000
parents 5f90774ea1ef
children a60cbb7359dd
comparison
equal deleted inserted replaced
17:5f90774ea1ef 18:56a42ec95024
135 135
136 /** A home for all miscellaneous options, at least for now. */ 136 /** A home for all miscellaneous options, at least for now. */
137 class OptionsMisc : Options { 137 class OptionsMisc : Options {
138 bool useThreads; // set 0 to disable threading 138 bool useThreads; // set 0 to disable threading
139 char[] L10n; // locale, e.g. en-GB 139 char[] L10n; // locale, e.g. en-GB
140
140 int logLevel; // tango logger level 141 int logLevel; // tango logger level
141 142
142 this () { 143 this () {
143 optsBool = ["useThreads":&useThreads]; 144 optsBool = ["useThreads":&useThreads];
144 optsCharA = ["L10n":&L10n]; 145 optsCharA = ["L10n":&L10n];