| 1 | // SPDX-FileCopyrightText: 2016 Torsten Dreyer |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <simgear/misc/sg_path.hxx> |
| 7 | #include <simgear/props/props.hxx> |
| 8 | |
| 9 | |
| 10 | class ApplicationProperties { |
| 11 | public: |
| 12 | static double getDouble (const char *name, const double def = 0.0); |
| 13 | static SGPath GetRootPath(const char* subDir = nullptr); |
| 14 | static SGPropertyNode_ptr Properties; |
| 15 | static std::string root; |
| 16 | }; |