mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +08:00
Use nested namespaces (C++17 feature)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user