36 lines
1.1 KiB
C++
Executable File
36 lines
1.1 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 <QString>
|
|
|
|
#include <OcBaseDownload/WebSocketInterface/json_keys.h>
|
|
|
|
namespace ExerciseManagement
|
|
{
|
|
namespace WebSocketInterface
|
|
{
|
|
/**
|
|
* @brief Namespace which holds all occuring JSON keys as const QString objects
|
|
*/
|
|
namespace JsonKeys
|
|
{
|
|
// types for client --> server messages
|
|
inline QString EXERCISE_INFORMATION_REQUEST() { return QStringLiteral("exerciseInformationRequest"); }
|
|
|
|
// types for server --> client messages
|
|
inline QString EXERCISE_INFORMATION() { return QStringLiteral("exerciseInformation"); }
|
|
inline QString EXERCISE_PHASE_BASE_DATA() { return QStringLiteral("exercisePhaseBaseData"); }
|
|
inline QString EXERCISE_STATE_CHANGE_BASE_DATA() { return QStringLiteral("exerciseStateChangeBaseData"); }
|
|
inline QString EXERCISE_BASE_DATA() { return QStringLiteral("exerciseBaseData"); }
|
|
|
|
} // namespace JsonKeys
|
|
} // namespace WebSocketInterface
|
|
} // namespace ExerciseManagement
|