| 1 | // SPDX-FileCopyrightText: 2013 James Turner <[email protected]> |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * @brief Expose SGPath module to Nasal |
| 7 | */ |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | #include "simgear/misc/sg_path.hxx" |
| 12 | #include <simgear/nasal/nasal.h> |
| 13 | |
| 14 | naRef initNasalSGPath(naRef globals, naContext c); |
| 15 | |
| 16 | /** |
| 17 | * @brief Map a string value such as `DESKTOP `to an SGPath location enum value. |
| 18 | */ |
| 19 | SGPath::StandardLocation standardLocationFromString(const std::string& s); |