Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 5570:cc4b7b4d5deb
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 25 Apr 2024 17:16:51 +0200 |
parents | 0b18690c1935 |
children | f0dc99bc811c |
comparison
equal
deleted
inserted
replaced
5564:e791a74ea946 | 5570:cc4b7b4d5deb |
---|---|
90 #endif | 90 #endif |
91 | 91 |
92 void ResetGlobalContext() | 92 void ResetGlobalContext() |
93 { | 93 { |
94 globalContext_ = NULL; | 94 globalContext_ = NULL; |
95 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 4) && ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 4) | |
95 pluginName_ = NULL; | 96 pluginName_ = NULL; |
97 #endif | |
96 } | 98 } |
97 | 99 |
98 bool HasGlobalContext() | 100 bool HasGlobalContext() |
99 { | 101 { |
100 return globalContext_ != NULL; | 102 return globalContext_ != NULL; |