diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-09 08:01:44 (GMT) |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-22 14:30:02 (GMT) |
commit | 277ffa2881d4073a660490f959cb58ad0dcb3f82 (patch) | |
tree | 977673e28b98ca17782990d8a3325291b2317b10 /Source/cmServerConnection.cxx | |
parent | f4475eb92beade22fca16f21b40df19b48c6559b (diff) | |
download | CMake-277ffa2881d4073a660490f959cb58ad0dcb3f82.zip CMake-277ffa2881d4073a660490f959cb58ad0dcb3f82.tar.gz CMake-277ffa2881d4073a660490f959cb58ad0dcb3f82.tar.bz2 |
server-mode: Move constants for server mode into its own file
This removes some duplication and makes it easier to reuse the
vocabulary.
Diffstat (limited to 'Source/cmServerConnection.cxx')
-rw-r--r-- | Source/cmServerConnection.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmServerConnection.cxx b/Source/cmServerConnection.cxx index 398e250..112cafd 100644 --- a/Source/cmServerConnection.cxx +++ b/Source/cmServerConnection.cxx @@ -13,15 +13,14 @@ #include "cmServerConnection.h" +#include "cmServerDictionary.h" + #include <cmServer.h> #include <assert.h> namespace { -static const std::string kSTART_MAGIC = "[== CMake Server ==["; -static const std::string kEND_MAGIC = "]== CMake Server ==]"; - struct write_req_t { uv_write_t req; |