PherricOxide/test — Issue #61: LoadConfig should only be called once
Author: PherricOxide
Created: 2012-02-08 18:24:06+00:00
State: open
Labels: defect

The LoadConfig method is called by almost every class in the NOVA projects, and is not tailored in any way to adjust its behavior to the calling process; thus, though not every class needs every variable in the NOVAConfig.txt file, every class will call a method that parses this file completely. I propose that we create a global version of this process for all the other processes to reference, i.e. a sort of config monitor that statically has global variables that contain the config information right at startup, and has some methods that can take in arguments and then write to the Config file. This ties in somewhat with other problems we're having with duplication of absolute path strings in the Edit->Preferences window.