This commit is contained in:
Klaus Basan
2019-10-24 16:27:37 +02:00
parent 5846576aae
commit bc3e82cba4
2 changed files with 8 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ namespace BlackCore
{
namespace Fsd
{
//! private @{
template<>
QString toQString(const AtcRating &value)
{
@@ -307,5 +309,7 @@ namespace BlackCore
else if (str == "E") return AtisLineType::LineCount;
else return AtisLineType::Unknown;
}
//! @}
}
}

View File

@@ -25,6 +25,7 @@ namespace BlackCore
//! Constructor
ServerError(const QString &sender, const QString &receiver, ServerErrorCode errorCode, const QString &causingParameter, const QString &description);
//! Fatal?
bool isFatalError() const;
//! Message converted to tokens
@@ -36,11 +37,14 @@ namespace BlackCore
//! PDU identifier
static QString pdu() { return "$ER"; }
//! Properties @{
ServerErrorCode m_errorNumber;
QString m_causingParameter;
QString m_description;
//! @}
private:
//! Ctor
ServerError();
};