/** * @RDE_HEADER@ * Header file which holds all occuring JSON keys * $Id$ * $HeadURL$ * $Author$ * Created by Philipp Dassow, SLST, 2017-12-05 */ #pragma once #include #include #include #include #include #include #include #include #include namespace OcBaseDownload { namespace WebSocketInterface { /** * @brief Namespace which holds all occuring JSON keys as const QString objects */ namespace JsonKeys { // types for client --> server messages inline QString BASE_DL_REQUEST() { return QStringLiteral("baseDlRequest"); } inline QString PDF_LIST_REQUEST() { return QStringLiteral("pdfListRequest"); } // types for server --> client messages // data keys inline QString EXERCISE_ID() { return QStringLiteral("exerciseId"); } } // namespace JsonKeys } // namespace WebSocketInterface } // namespace OcBaseDownload