comparison OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 5412:1a351a141653

ServerContextLock -> ServerContextReference to allow multiple plugins to use it at the same time
author Alain Mazy <am@osimis.io>
date Wed, 08 Nov 2023 08:55:42 +0100
parents 984300e70069
children 40112827c56f
comparison
equal deleted inserted replaced
5411:ca9cf4d46883 5412:1a351a141653
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 }