diff options
author | Brad King <brad.king@kitware.com> | 2016-09-30 12:07:29 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-09-30 12:07:29 (GMT) |
commit | 8491a539cf316f14abaf70d7be04f8929119e501 (patch) | |
tree | e880c4a0dfbb80ba5f1abd28387753ddd56d72e6 /Source/cmServerConnection.h | |
parent | 9c932109a29afbaf10aa9dd9fa7b2f421f8db6fd (diff) | |
parent | 4e34f042504f1c62f36a0f16e137e137a7bf1e72 (diff) | |
download | CMake-8491a539cf316f14abaf70d7be04f8929119e501.zip CMake-8491a539cf316f14abaf70d7be04f8929119e501.tar.gz CMake-8491a539cf316f14abaf70d7be04f8929119e501.tar.bz2 |
Merge topic 'cmake-server-filewatcher'
4e34f042 server-mode: Watch CMakeLists.txt files
26250002 server-mode: Report watched files to client
0d96e193 server-mode: Add infrastructure to watch the filesystem
Diffstat (limited to 'Source/cmServerConnection.h')
-rw-r--r-- | Source/cmServerConnection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmServerConnection.h b/Source/cmServerConnection.h index 16b1d5c..78842e7 100644 --- a/Source/cmServerConnection.h +++ b/Source/cmServerConnection.h @@ -10,6 +10,7 @@ #endif class cmServer; +class cmFileMonitor; class LoopGuard; class cmServerConnection @@ -29,6 +30,8 @@ public: virtual void Connect(uv_stream_t* server) { (void)(server); } + cmFileMonitor* FileMonitor() const { return this->mFileMonitor; } + protected: virtual bool DoSetup(std::string* errorMessage) = 0; virtual void TearDown() = 0; @@ -46,6 +49,7 @@ protected: private: uv_loop_t* mLoop = nullptr; + cmFileMonitor* mFileMonitor = nullptr; cmServer* Server = nullptr; friend class LoopGuard; |