Use nested namespaces (C++17 feature)

This commit is contained in:
Mat Sutcliffe
2021-09-15 21:44:54 +01:00
parent 3f2e5b0b69
commit 57d32da826
1345 changed files with 146075 additions and 150376 deletions

View File

@@ -16,37 +16,34 @@
#include <QScopedPointer>
namespace Ui { class CInstallFsxTerrainProbeComponent; }
namespace BlackGui
namespace BlackGui::Components
{
namespace Components
//! Install the FSX/P3D terrain probe
class CInstallFsxTerrainProbeComponent : public QFrame
{
//! Install the FSX/P3D terrain probe
class CInstallFsxTerrainProbeComponent : public QFrame
{
Q_OBJECT
Q_OBJECT
public:
//! Constructor
explicit CInstallFsxTerrainProbeComponent(QWidget *parent = nullptr);
public:
//! Constructor
explicit CInstallFsxTerrainProbeComponent(QWidget *parent = nullptr);
//! Destructors
virtual ~CInstallFsxTerrainProbeComponent();
//! Destructors
virtual ~CInstallFsxTerrainProbeComponent();
private:
QScopedPointer<Ui::CInstallFsxTerrainProbeComponent> ui;
private:
QScopedPointer<Ui::CInstallFsxTerrainProbeComponent> ui;
//! Select the directory
void selectSimObjectsDir();
//! Select the directory
void selectSimObjectsDir();
//! Copy probe
void copyProbe();
//! Copy probe
void copyProbe();
//! Simulator has been changed
void onSimulatorChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
//! Simulator has been changed
void onSimulatorChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
BlackMisc::Simulation::Settings::CMultiSimulatorSettings m_simulatorSettings { this }; //!< for SimObjects directories
};
} // ns
BlackMisc::Simulation::Settings::CMultiSimulatorSettings m_simulatorSettings { this }; //!< for SimObjects directories
};
} // ns
#endif // guard