X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Foptions.hxx;h=082d4a430c7d61c2770663c7aaaf58c445ca894b;hb=33425c671d20fc7a7fbb87c2db28aef455b5b5dd;hp=c5d7ab86274949aff4f17035553b4a00482d8f0e;hpb=e50ff873001bd96afc1ac3abd8fa750ec6c549ed;p=flightgear.git diff --git a/src/Main/options.hxx b/src/Main/options.hxx index c5d7ab862..082d4a430 100644 --- a/src/Main/options.hxx +++ b/src/Main/options.hxx @@ -88,6 +88,16 @@ public: * init the aircraft options */ void initAircraft(); + + /** + * 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. + * --no-default-config allows this behaviour to be changed, so only + * expicitly listed files are read - this is useful for testing. Expose + * the value of the option here. + */ + bool shouldLoadDefaultConfig() const; private: void showUsage() const;