| 1 | // SPDX-FileCopyrightText: 2025 James Turner |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | namespace flightgear { |
| 7 | |
| 8 | /** |
| 9 | * @brief check if the Shared models are available correctly. |
| 10 | * |
| 11 | * Will show a fatal error message box if they're not found. We don't check for |
| 12 | * every model, but for a representative subset which gives us a good |
| 13 | * confidence that the user did get a working Models/ directory from TerraSync |
| 14 | * or elsewhere. |
| 15 | * |
| 16 | */ |
| 17 | bool validateSharedModels(); |
| 18 | |
| 19 | /// helper to avoid informing the user redundantly about missing models |
| 20 | bool haveShownSharedModelsError(); |
| 21 | |
| 22 | } // namespace flightgear |