summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.h
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2017-03-25 03:57:04 (GMT)
committerJustin Berger <j.david.berger@gmail.com>2017-07-11 00:11:33 (GMT)
commit5ddfb6a472539c3a01a6f8e6d8fa1cb1013fc4f9 (patch)
tree078811d4b6f866a9d2f8b0ab77e37230d149c390 /Source/cmServerProtocol.h
parentd4f5d35ca491ede92003b26a7d0eb06aea3a2bbb (diff)
downloadCMake-5ddfb6a472539c3a01a6f8e6d8fa1cb1013fc4f9.zip
CMake-5ddfb6a472539c3a01a6f8e6d8fa1cb1013fc4f9.tar.gz
CMake-5ddfb6a472539c3a01a6f8e6d8fa1cb1013fc4f9.tar.bz2
server: Add connection as part of a request
Diffstat (limited to 'Source/cmServerProtocol.h')
-rw-r--r--Source/cmServerProtocol.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.h b/Source/cmServerProtocol.h
index 83b3d58..9902dfb 100644
--- a/Source/cmServerProtocol.h
+++ b/Source/cmServerProtocol.h
@@ -11,6 +11,7 @@
#include <string>
#include <utility>
+class cmConnection;
class cmFileMonitor;
class cmServer;
class cmServerRequest;
@@ -52,9 +53,11 @@ public:
const std::string Type;
const std::string Cookie;
const Json::Value Data;
+ cmConnection* Connection;
private:
- cmServerRequest(cmServer* server, const std::string& t, const std::string& c,
+ cmServerRequest(cmServer* server, cmConnection* connection,
+ const std::string& t, const std::string& c,
const Json::Value& d);
void ReportProgress(int min, int current, int max,