FlightGear next
|
#include <memory>
#include <optional>
#include <string>
#include <simgear/misc/strutils.hxx>
Go to the source code of this file.
Classes | |
class | flightgear::Options |
Namespaces | |
namespace | flightgear |
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints. | |
Enumerations | |
enum | flightgear::OptionResult { flightgear::FG_OPTIONS_OK = 0 , flightgear::FG_OPTIONS_HELP , flightgear::FG_OPTIONS_ERROR , flightgear::FG_OPTIONS_EXIT , flightgear::FG_OPTIONS_VERBOSE_HELP , flightgear::FG_OPTIONS_SHOW_AIRCRAFT , flightgear::FG_OPTIONS_SHOW_SOUND_DEVICES , flightgear::FG_OPTIONS_SHOW_INFO , flightgear::FG_OPTIONS_NO_DEFAULT_CONFIG } |
option processing can have various result values depending on what the user requested. More... | |
Functions | |
SGPath | flightgear::defaultDownloadDir () |
return the default platform dependant download directory. | |
void | fgSetDefaults () |
Set a few fail-safe default property values. | |
void fgSetDefaults | ( | ) |
Set a few fail-safe default property values.
These should all be set in $FG_ROOT/defaults.xml, but just in case, we provide some initial sane values here. This method should be invoked before reading any init files.
Definition at line 127 of file options.cxx.