Mercurial > projects > mde
diff mde/input/Config.d @ 85:56c0ddd90193
Intermediate commit (not stable). Changes to init system.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 11 Sep 2008 11:33:51 +0100 |
parents | e0f1ec7fe73a |
children | 79d816b3e2d2 |
line wrap: on
line diff
--- a/mde/input/Config.d Sun Aug 31 15:59:17 2008 +0100 +++ b/mde/input/Config.d Thu Sep 11 11:33:51 2008 +0100 @@ -24,7 +24,7 @@ debug import mde.file.serialize; import tango.util.log.Log : Log, Logger; -import tango.util.collection.TreeBag : TreeBag; +import tango.util.container.HashSet; /** Class to hold the configuration for the input system. Thus loading and switching between * multiple configurations should be easy. @@ -115,13 +115,13 @@ uint[] inheritants; /// Other profiles to inherit. static Config[char[]] configs; /// All configs loaded by load(). - private static TreeBag!(char[]) loadedFiles; // all filenames load tried to read + private static HashSet!(char[]) loadedFiles; // all filenames load tried to read private static Logger logger; //BEGIN File loading/saving code static this () { logger = Log.getLogger ("mde.input.Config"); - loadedFiles = new TreeBag!(char[]); + loadedFiles = new HashSet!(char[]); } // Load all configs from a file.