Mercurial > hg > orthanc-stone
diff Framework/Messaging/MessagingToolbox.cpp @ 31:9aace933cb64
sharing code with the Orthanc core
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Dec 2016 15:41:20 +0100 |
parents | b01d46e5a2b3 |
children | a865c7992a87 |
line wrap: on
line diff
--- a/Framework/Messaging/MessagingToolbox.cpp Wed Dec 14 17:05:41 2016 +0100 +++ b/Framework/Messaging/MessagingToolbox.cpp Fri Dec 16 15:41:20 2016 +0100 @@ -173,7 +173,7 @@ } void RestApiGet(Json::Value& target, - IOrthancConnection& orthanc, + OrthancPlugins::IOrthancConnection& orthanc, const std::string& uri) { std::string tmp; @@ -182,7 +182,7 @@ } - bool HasWebViewerInstalled(IOrthancConnection& orthanc) + bool HasWebViewerInstalled(OrthancPlugins::IOrthancConnection& orthanc) { try { @@ -197,7 +197,7 @@ } - bool CheckOrthancVersion(IOrthancConnection& orthanc) + bool CheckOrthancVersion(OrthancPlugins::IOrthancConnection& orthanc) { Json::Value json; std::string version; @@ -250,7 +250,7 @@ } - Orthanc::ImageAccessor* DecodeFrame(IOrthancConnection& orthanc, + Orthanc::ImageAccessor* DecodeFrame(OrthancPlugins::IOrthancConnection& orthanc, const std::string& instance, unsigned int frame, Orthanc::PixelFormat targetFormat) @@ -297,7 +297,7 @@ } - Orthanc::ImageAccessor* DecodeJpegFrame(IOrthancConnection& orthanc, + Orthanc::ImageAccessor* DecodeJpegFrame(OrthancPlugins::IOrthancConnection& orthanc, const std::string& instance, unsigned int frame, unsigned int quality,