2016-09-09 11:01:44 +03:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2016 Tobias Hunger <tobias.hunger@qt.io>
|
|
|
|
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
// Vocabulary:
|
|
|
|
|
|
|
|
static const std::string kERROR_TYPE = "error";
|
|
|
|
static const std::string kHANDSHAKE_TYPE = "handshake";
|
|
|
|
static const std::string kMESSAGE_TYPE = "message";
|
|
|
|
static const std::string kPROGRESS_TYPE = "progress";
|
|
|
|
static const std::string kREPLY_TYPE = "reply";
|
2016-09-09 11:01:45 +03:00
|
|
|
static const std::string kSIGNAL_TYPE = "signal";
|
2016-09-09 11:01:44 +03:00
|
|
|
|
|
|
|
static const std::string kBUILD_DIRECTORY_KEY = "buildDirectory";
|
|
|
|
static const std::string kCOOKIE_KEY = "cookie";
|
|
|
|
static const std::string kERROR_MESSAGE_KEY = "errorMessage";
|
|
|
|
static const std::string kEXTRA_GENERATOR_KEY = "extraGenerator";
|
|
|
|
static const std::string kGENERATOR_KEY = "generator";
|
|
|
|
static const std::string kIS_EXPERIMENTAL_KEY = "isExperimental";
|
|
|
|
static const std::string kMAJOR_KEY = "major";
|
|
|
|
static const std::string kMESSAGE_KEY = "message";
|
|
|
|
static const std::string kMINOR_KEY = "minor";
|
2016-09-09 11:01:45 +03:00
|
|
|
static const std::string kNAME_KEY = "name";
|
2016-09-09 11:01:44 +03:00
|
|
|
static const std::string kPROGRESS_CURRENT_KEY = "progressCurrent";
|
|
|
|
static const std::string kPROGRESS_MAXIMUM_KEY = "progressMaximum";
|
|
|
|
static const std::string kPROGRESS_MESSAGE_KEY = "progressMessage";
|
|
|
|
static const std::string kPROGRESS_MINIMUM_KEY = "progressMinimum";
|
|
|
|
static const std::string kPROTOCOL_VERSION_KEY = "protocolVersion";
|
|
|
|
static const std::string kREPLY_TO_KEY = "inReplyTo";
|
|
|
|
static const std::string kSOURCE_DIRECTORY_KEY = "sourceDirectory";
|
|
|
|
static const std::string kSUPPORTED_PROTOCOL_VERSIONS =
|
|
|
|
"supportedProtocolVersions";
|
|
|
|
static const std::string kTITLE_KEY = "title";
|
|
|
|
static const std::string kTYPE_KEY = "type";
|
|
|
|
|
|
|
|
static const std::string kSTART_MAGIC = "[== CMake Server ==[";
|
|
|
|
static const std::string kEND_MAGIC = "]== CMake Server ==]";
|