summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-05 21:21:39 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-05 22:03:47 (GMT)
commitf3e216131b7b0a889507c3c4100b298c75ad3d84 (patch)
tree7db2f8c18dd770894d1e05b5bdb07a01e8dd7a73 /Source/cmServerProtocol.h
parent9535823b2cff81b05e4c6b64016a95e2264ecda5 (diff)
downloadCMake-f3e216131b7b0a889507c3c4100b298c75ad3d84.zip
CMake-f3e216131b7b0a889507c3c4100b298c75ad3d84.tar.gz
CMake-f3e216131b7b0a889507c3c4100b298c75ad3d84.tar.bz2
cmServer: include what you use
Diffstat (limited to 'Source/cmServerProtocol.h')
-rw-r--r--Source/cmServerProtocol.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmServerProtocol.h b/Source/cmServerProtocol.h
index 027f145..83b3d58 100644
--- a/Source/cmServerProtocol.h
+++ b/Source/cmServerProtocol.h
@@ -2,20 +2,17 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#pragma once
-#include "cmListFileCache.h"
-#include "cmake.h"
+#include "cmConfigure.h"
-#if defined(CMAKE_BUILD_WITH_CMAKE)
-#include "cm_jsoncpp_writer.h"
-#endif
+#include "cm_jsoncpp_value.h"
+#include "cmake.h"
#include <memory>
#include <string>
+#include <utility>
-class cmake;
class cmFileMonitor;
class cmServer;
-
class cmServerRequest;
class cmServerResponse
@@ -72,8 +69,11 @@ private:
class cmServerProtocol
{
+ CM_DISABLE_COPY(cmServerProtocol)
+
public:
- virtual ~cmServerProtocol() {}
+ cmServerProtocol() = default;
+ virtual ~cmServerProtocol() = default;
virtual std::pair<int, int> ProtocolVersion() const = 0;
virtual bool IsExperimental() const = 0;