summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-09-09 08:01:45 (GMT)
committerTobias Hunger <tobias.hunger@qt.io>2016-09-22 14:30:03 (GMT)
commite22d30e25a264c309bd819edde3eacb1184da800 (patch)
tree06c316445faeeb2a8588fae1e264bbd903e7d712 /Source/cmServerProtocol.h
parentcc576c2c7f3272ec5370dc3cb45838c20d1837f9 (diff)
downloadCMake-e22d30e25a264c309bd819edde3eacb1184da800.zip
CMake-e22d30e25a264c309bd819edde3eacb1184da800.tar.gz
CMake-e22d30e25a264c309bd819edde3eacb1184da800.tar.bz2
server-mode: Allow for sending signals
Enable the server to send signals.
Diffstat (limited to 'Source/cmServerProtocol.h')
-rw-r--r--Source/cmServerProtocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmServerProtocol.h b/Source/cmServerProtocol.h
index 92c8162..0383dfe 100644
--- a/Source/cmServerProtocol.h
+++ b/Source/cmServerProtocol.h
@@ -90,6 +90,8 @@ public:
bool Activate(cmServer* server, const cmServerRequest& request,
std::string* errorMessage);
+ void SendSignal(const std::string& name, const Json::Value& data) const;
+
protected:
cmake* CMakeInstance() const;
// Implement protocol specific activation tasks here. Called from Activate().