comparison Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp @ 144:93c6f12bf339

improved support for /reset but still not ok
author Alain Mazy <am@osimis.io>
date Wed, 08 Nov 2023 08:55:12 +0100
parents 4cf3c2bc119f
children c78ec45f3695
comparison
equal deleted inserted replaced
143:d63c58d650ff 144:93c6f12bf339
77 { 77 {
78 ORTHANC_PLUGINS_THROW_EXCEPTION(BadSequenceOfCalls); 78 ORTHANC_PLUGINS_THROW_EXCEPTION(BadSequenceOfCalls);
79 } 79 }
80 } 80 }
81 81
82 void ResetGlobalContext()
83 {
84 globalContext_ = NULL;
85 }
82 86
83 bool HasGlobalContext() 87 bool HasGlobalContext()
84 { 88 {
85 return globalContext_ != NULL; 89 return globalContext_ != NULL;
86 } 90 }