diff options
author | Brad King <brad.king@kitware.com> | 2016-09-20 12:40:39 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-09-20 12:40:39 (GMT) |
commit | 83ec894ffd7747e36245615f3332a9bc5bed9ba0 (patch) | |
tree | ef7641d0775344d856cf86154a0625512f5d2924 /Source/cmServer.h | |
parent | 160a7ad64092299096f79b2ff1adf5bbcc8cad77 (diff) | |
parent | 7df8a8f2769de784c24dc6baeb55ad2038aa059f (diff) | |
download | CMake-83ec894ffd7747e36245615f3332a9bc5bed9ba0.zip CMake-83ec894ffd7747e36245615f3332a9bc5bed9ba0.tar.gz CMake-83ec894ffd7747e36245615f3332a9bc5bed9ba0.tar.bz2 |
Merge topic 'cmake-server-experimental-protocols'
7df8a8f2 server-mode: Add --experimental flag
Diffstat (limited to 'Source/cmServer.h')
-rw-r--r-- | Source/cmServer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmServer.h b/Source/cmServer.h index 0ef1e17..4a9c3f5 100644 --- a/Source/cmServer.h +++ b/Source/cmServer.h @@ -31,10 +31,10 @@ class cmServerResponse; class cmServer { public: - cmServer(); + cmServer(bool supportExperimental); ~cmServer(); - void Serve(); + bool Serve(); // for callbacks: void PopOne(); @@ -59,6 +59,8 @@ private: static cmServerProtocol* FindMatchingProtocol( const std::vector<cmServerProtocol*>& protocols, int major, int minor); + const bool SupportExperimental; + cmServerProtocol* Protocol = nullptr; std::vector<cmServerProtocol*> SupportedProtocols; std::vector<std::string> Queue; |