diff options
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r-- | Source/cmServerProtocol.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx index ce6be83..26942d3 100644 --- a/Source/cmServerProtocol.cxx +++ b/Source/cmServerProtocol.cxx @@ -46,6 +46,12 @@ void cmServerRequest::ReportProgress(int min, int current, int max, this->m_Server->WriteProgress(*this, min, current, max, message); } +void cmServerRequest::ReportMessage(const std::string& message, + const std::string& title) const +{ + m_Server->WriteMessage(*this, message, title); +} + cmServerResponse cmServerRequest::Reply(const Json::Value& data) const { cmServerResponse response(*this); |