The migration pipeline dropped the leading @RDE_HEADER@ comment blocks from 243 target source files (and 2 cmake macros). Restore them byte-for-byte from the legacy Qt5 tree (qt5-before/qt5-legatus-legacy): the exact legacy header is re-inserted at the top of each file (block-comment, '#'-style, line-comment '//' styles, BOM and surrounding blank lines included). File bodies are untouched. Scope: all in-scope target code, unit-test directories excluded. 190 files already kept their legacy header through the migration and were left as-is; legacy files without an RDE header were not given one. Special cases: 3 headers sitting after a '#pragma once' line, 1 BOM-prefixed file, 4 '//'-style TetraIF headers. *.grantlee template files were not in scope and remain untouched. Verified: every restored file is byte-exact (legacy preamble + original body) and the ctest baseline is unchanged (20/23 passed, 3 Not Run as before).
79 lines
3.4 KiB
C++
Executable File
79 lines
3.4 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Header file which holds all occuring JSON keys
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Philipp Dassow, SLST, 2017-12-05
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QtCore/QString>
|
|
|
|
#include <OcBaseDownload/WebSocketInterface/json_keys.h>
|
|
|
|
namespace TrainingAreaBase
|
|
{
|
|
namespace WebSocketInterface
|
|
{
|
|
|
|
|
|
namespace JsonKeys
|
|
{
|
|
inline QString DATA() { return QLatin1String("data"); }
|
|
inline QString UUID_() { return QStringLiteral("uuid"); }
|
|
inline QString TYPE() { return QStringLiteral("type"); }
|
|
|
|
|
|
inline QString SEND_BITE_REQUEST() { return QStringLiteral("sendBiteRequest"); }
|
|
|
|
|
|
inline QString BITE_DATA() { return QStringLiteral("biteData"); }
|
|
inline QString POSITION_DATA() { return QStringLiteral("positionData"); }
|
|
inline QString OK() { return QStringLiteral("ok");}
|
|
inline QString ERROR_() { return QLatin1String("error"); }
|
|
|
|
|
|
inline QString EXERCISE_ID() { return QStringLiteral("exerciseId"); }
|
|
inline QString FILE_CATEGORY() { return QStringLiteral("fileCategory"); }
|
|
inline QString FILE_ID() { return QStringLiteral("fileId"); }
|
|
inline QString FILE_SIZE() { return QStringLiteral("fileSize"); }
|
|
inline QString FILE_STATUS() { return QStringLiteral("fileStatus"); }
|
|
inline QString FOLDER_ID() { return QStringLiteral("folderId"); }
|
|
inline QString IS_TEMPLATE() { return QStringLiteral("isTemplate"); }
|
|
inline QString NAME() { return QStringLiteral("name"); }
|
|
inline QString OPERATOR_ID() { return QStringLiteral("operatorID"); }
|
|
inline QString PHASE_ID() { return QStringLiteral("phaseId"); }
|
|
inline QString PROPERTIES() { return QStringLiteral("properties"); }
|
|
|
|
inline QString EQUIP_NO() { return QLatin1String("equipNo"); }
|
|
inline QString BOX() { return QLatin1String("box"); }
|
|
inline QString LAST_UPDATE() { return QLatin1String("lastUpdate"); }
|
|
inline QString BITE_ERRORS() { return QLatin1String("biteErrors"); }
|
|
inline QString ERROR_TEXT() { return QLatin1String("errorText"); }
|
|
inline QString LANG() { return QLatin1String("lang"); }
|
|
inline QString _TEXT() { return QLatin1String("text"); }
|
|
inline QString DEVICE_ID() { return QLatin1String("deviceId"); }
|
|
inline QString SUBDEVICE() { return QLatin1String("subdevice"); }
|
|
inline QString UNIQUE_ID() { return QLatin1String("uniqueId"); }
|
|
inline QString ERROR_NO() { return QLatin1String("errorNo"); }
|
|
inline QString CONFIGURATION_ERRORS() { return QLatin1String("configurationErrors"); }
|
|
inline QString COMPONENT_NAME() { return QLatin1String("componentName"); }
|
|
inline QString BASIC_ERRORS() { return QLatin1String("basicErrors"); }
|
|
inline QString LAST_POSITION_UPDATE() { return QLatin1String("lastPositionUpdate"); }
|
|
inline QString IS_LICENSED() { return QLatin1String("isLicensed"); }
|
|
|
|
inline QString POS_LAT() { return QLatin1String("posX"); }
|
|
inline QString POS_LON() { return QLatin1String("posY"); }
|
|
inline QString POS_Z() { return QLatin1String("posZ"); }
|
|
|
|
inline QString INFO() { return QLatin1String("info"); }
|
|
inline QString ERROR_CLASS() { return QLatin1String("errorClass"); }
|
|
inline QString ERROR_MESSAGE() { return QLatin1String("errorMessage"); }
|
|
inline QString MESSAGE_TYPE() { return QLatin1String("msgType"); }
|
|
|
|
|
|
}
|
|
}
|
|
}
|