Mercurial > hg > orthanc-webviewer
diff Plugin/Plugin.cpp @ 230:cce89307af28
replacing GdcmDecoder/OrthancImageWrapper.h by OrthancPluginCppWrapper.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 11 May 2020 12:06:33 +0200 |
parents | 0f9d183f685d |
children | 7097d0eaac76 |
line wrap: on
line diff
--- a/Plugin/Plugin.cpp Mon May 11 11:52:46 2020 +0200 +++ b/Plugin/Plugin.cpp Mon May 11 12:06:33 2020 +0200 @@ -28,6 +28,7 @@ #include <Core/OrthancException.h> #include <Core/SystemToolbox.h> #include <Core/Toolbox.h> +#include <Plugins/Samples/Common/OrthancPluginCppWrapper.h> #include <Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h> #include <boost/thread.hpp> @@ -568,6 +569,7 @@ { using namespace OrthancPlugins; + OrthancPlugins::SetGlobalContext(context); context_ = context; assert(DisplayPerformanceWarning()); OrthancPluginLogWarning(context_, "Initializing the Web viewer");