Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
* @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>
|
||||
|
||||
namespace ServiceManagement
|
||||
{
|
||||
namespace WebSocketInterface
|
||||
{
|
||||
/**
|
||||
* @brief Namespace which holds all occuring JSON keys as const QString objects
|
||||
*/
|
||||
namespace JsonKeys
|
||||
{
|
||||
// types for client --> server messages
|
||||
inline QString SERVICE_PORTS_INFORMATION_REQUEST() { return QStringLiteral("servicePortsInformationRequest"); }
|
||||
|
||||
// types for server --> client messages
|
||||
inline QString SERVICE_PORTS_INFORMATION() { return QStringLiteral("servicePortsInformation"); }
|
||||
|
||||
// data keys
|
||||
inline QString EXERCISE_ID() { return QStringLiteral("exerciseId"); }
|
||||
inline QString NAME() { return QStringLiteral("name"); }
|
||||
inline QString NAME_ABBR() { return QStringLiteral("nameAbbrevation"); }
|
||||
inline QString NUMBER() { return QStringLiteral("number"); }
|
||||
inline QString PORTS() { return QStringLiteral("ports"); }
|
||||
inline QString REPLAY_PARTITION_ID() { return QStringLiteral("replayPartitionId"); }
|
||||
inline QString SERVICES() { return QStringLiteral("services"); }
|
||||
inline QString TYPE_ID() { return QStringLiteral("typeId"); }
|
||||
inline QString PROPERTIES() { return QStringLiteral("properties"); }
|
||||
|
||||
} // namespace JsonKeys
|
||||
} // namespace WebSocketInterface
|
||||
} // namespace ServiceManagement
|
||||
Reference in new issue
Block a user