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

@@ -18,69 +18,66 @@
#include <QtGlobal>
#include <QString>
namespace BlackCore
namespace BlackCore::Fsd
{
namespace Fsd
{
//! \cond
template<typename T>
inline QString toQString(const T& value);
//! \cond
template<typename T>
inline QString toQString(const T& value);
template<typename T>
T fromQString(const QString &str);
template<typename T>
T fromQString(const QString &str);
template<>
QString toQString(const AtcRating &value);
template<>
QString toQString(const AtcRating &value);
template<>
AtcRating fromQString(const QString &str);
template<>
AtcRating fromQString(const QString &str);
template<>
QString toQString(const PilotRating &value);
template<>
QString toQString(const PilotRating &value);
template<>
PilotRating fromQString(const QString &str);
template<>
PilotRating fromQString(const QString &str);
template<>
QString toQString(const SimType &value);
template<>
QString toQString(const SimType &value);
template<>
SimType fromQString(const QString &str);
template<>
SimType fromQString(const QString &str);
template<>
QString toQString(const BlackMisc::Network::CFacilityType &value);
template<>
QString toQString(const BlackMisc::Network::CFacilityType &value);
template<>
BlackMisc::Network::CFacilityType fromQString(const QString &str);
template<>
BlackMisc::Network::CFacilityType fromQString(const QString &str);
template<>
QString toQString(const ClientQueryType &value);
template<>
QString toQString(const ClientQueryType &value);
template<>
ClientQueryType fromQString(const QString &str);
template<>
ClientQueryType fromQString(const QString &str);
template<>
QString toQString(const FlightType &value);
template<>
QString toQString(const FlightType &value);
template<>
FlightType fromQString(const QString &str);
template<>
FlightType fromQString(const QString &str);
template<>
QString toQString(const BlackMisc::Aviation::CTransponder::TransponderMode &value);
template<>
QString toQString(const BlackMisc::Aviation::CTransponder::TransponderMode &value);
template<>
BlackMisc::Aviation::CTransponder::TransponderMode fromQString(const QString &str);
template<>
BlackMisc::Aviation::CTransponder::TransponderMode fromQString(const QString &str);
template<>
QString toQString(const Capabilities& value);
template<>
QString toQString(const Capabilities& value);
template<>
Capabilities fromQString(const QString &str);
template<>
Capabilities fromQString(const QString &str);
template<>
AtisLineType fromQString(const QString &str);
//! \endcond
}
template<>
AtisLineType fromQString(const QString &str);
//! \endcond
}
#endif // guard