# HG changeset patch # User Sebastien Jodogne # Date 1538391907 -7200 # Node ID c67b5d80b758e87c317e7eff9e1b5357ea384a7d # Parent dd3914a44b87c2a72a919a6b5d0913e65a0e6017 fix build diff -r dd3914a44b87 -r c67b5d80b758 Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Mon Oct 01 11:35:01 2018 +0200 +++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Mon Oct 01 13:05:07 2018 +0200 @@ -231,9 +231,9 @@ Check(OrthancPluginCreateDicom(context_, &buffer_, s.c_str(), NULL, flags)); } - void MemoreyBuffer::CreateDicom(const Json::Value& tags, - const OrthancPluginImage& pixelData, - OrthancPluginCreateDicomFlags flags) + void MemoryBuffer::CreateDicom(const Json::Value& tags, + const OrthancImage& pixelData, + OrthancPluginCreateDicomFlags flags) { Clear(); diff -r dd3914a44b87 -r c67b5d80b758 Plugins/Samples/Common/OrthancPluginCppWrapper.h --- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h Mon Oct 01 11:35:01 2018 +0200 +++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h Mon Oct 01 13:05:07 2018 +0200 @@ -79,7 +79,7 @@ const char* url, const OrthancPluginHttpRequest* request); - class OrthancPluginImage; + class OrthancImage; class MemoryBuffer : public boost::noncopyable @@ -361,7 +361,10 @@ const void* GetBuffer(); - const OrthancPluginImage* GetObject() const {return image_;} + const OrthancPluginImage* GetObject() const + { + return image_; + } void CompressPngImage(MemoryBuffer& target);