extern int getch(void);
#endif
+IDESettings ideSettings;
+
+IDESettingsContainer settingsContainer
+{
+ dataOwner = &ideSettings;
+ dataClass = class(IDESettings);
+};
+
+IDEConfigHolder ideConfig { };
+
void ParseDirList(char * string, Container<String> list)
{
int c;
const char * compiler = getenv("COMPILER");
if(!compiler) compiler = "Default";
settingsContainer.Load();
+ ideConfig.compilers.read(settingsContainer);
+
//incref ideSettings;
delete settingsContainer;
// TODO: Command line option to choose between the two
// or a command line option to not use global settings
//defaultCompiler = MakeDefaultCompiler();
- defaultCompiler = ideSettings.GetCompilerConfig(compiler);
+ defaultCompiler = ideConfig.compilers.GetCompilerConfig(compiler);
// possible TODO: use the workspace to select the active compiler
// TODO: option to specify compiler name when using global settings
}