summaryrefslogtreecommitdiffstats
path: root/Source/cmServer.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-09-09 08:01:44 (GMT)
committerTobias Hunger <tobias.hunger@qt.io>2016-09-20 18:48:10 (GMT)
commitca7799482cbbb38b667fd5d045a0fc95d09a8cf2 (patch)
treed79dc456a8130dcd7ee86137df98b0fe39ae29fd /Source/cmServer.h
parent70b8ba9a0f4403729b9d68719503243982b883f4 (diff)
downloadCMake-ca7799482cbbb38b667fd5d045a0fc95d09a8cf2.zip
CMake-ca7799482cbbb38b667fd5d045a0fc95d09a8cf2.tar.gz
CMake-ca7799482cbbb38b667fd5d045a0fc95d09a8cf2.tar.bz2
server-mode: Automate progress reporting
Wire up cmake::SetProgressUpdate to do progress reporting via the cmake server.
Diffstat (limited to 'Source/cmServer.h')
-rw-r--r--Source/cmServer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmServer.h b/Source/cmServer.h
index 4a9c3f5..031ab64 100644
--- a/Source/cmServer.h
+++ b/Source/cmServer.h
@@ -43,6 +43,8 @@ public:
private:
void RegisterProtocol(cmServerProtocol* protocol);
+ static void reportProgress(const char* msg, float progress, void* data);
+
// Handle requests:
cmServerResponse SetProtocolVersion(const cmServerRequest& request);