X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Foptions.hxx;fp=src%2FMain%2Foptions.hxx;h=e680f26d1ac5f85a961c64d8f09a6df34d81d7e1;hb=2a68847e31bc54d532114124a32d5e71c8df51ae;hp=60a59d971a2e0b5e81c2b9437ff364c4771e38ae;hpb=17fb35d764bc2aa07f1cdb4c7fc57136dd259aab;p=flightgear.git diff --git a/src/Main/options.hxx b/src/Main/options.hxx index 60a59d971..e680f26d1 100644 --- a/src/Main/options.hxx +++ b/src/Main/options.hxx @@ -128,13 +128,19 @@ public: /** * should defualt configuration files be loaded and processed or not? * There's many configuration files we have historically read by default - * on startup - preferences.xml, fgfs.rc in various places and so on. + * on startup - fgfs.rc in various places and so on. * --no-default-config allows this behaviour to be changed, so only - * expicitly listed files are read - this is useful for testing. Expose + * expicitly listed files are read Expose * the value of the option here. */ bool shouldLoadDefaultConfig() const; + /** + * when using the built-in launcher, we disable the default config files. + * explicitly loaded confg files are still permitted. + */ + void setShouldLoadDefaultConfig(bool load); + /** * check if the arguments array contains a particular string (with a '--' or * '-' prefix).