Mercurial > projects > mde
comparison mde/setup/Init.d @ 94:9520cc0448e5
Boolean options are now encapsulated within a Content class (currently an experiment).
This should facilitate generic option editing widgets.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 23 Oct 2008 17:45:49 +0100 |
parents | 4d5d53e4f881 |
children | 2a364c7d82c9 |
comparison
equal
deleted
inserted
replaced
93:08a4ae11454b | 94:9520cc0448e5 |
---|---|
180 root.add (new AppendConsole); | 180 root.add (new AppendConsole); |
181 logger.warn ("Exception while setting up the logger; logging to the console instead."); | 181 logger.warn ("Exception while setting up the logger; logging to the console instead."); |
182 } | 182 } |
183 | 183 |
184 // a debugging option: | 184 // a debugging option: |
185 imde.run = !args.contains("q") && !miscOpts.exitImmediately; | 185 imde.run = !args.contains("q") && !miscOpts.exitImmediately(); |
186 debug logger.trace ("Init: applied pre-init options"); | 186 debug logger.trace ("Init: applied pre-init options"); |
187 | 187 |
188 //BEGIN Load dynamic libraries | 188 //BEGIN Load dynamic libraries |
189 /* Can be done by init functions but much neater to do here. | 189 /* Can be done by init functions but much neater to do here. |
190 * Also means that init functions aren't run if a library fails to load. */ | 190 * Also means that init functions aren't run if a library fails to load. */ |