comparison Plugins/Engine/OrthancPlugins.cpp @ 1328:b7351ecb79b4

fix in the plugin destruction
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Feb 2015 13:06:01 +0100
parents 61ce8147f30d
children 272cb2019a4c
comparison
equal deleted inserted replaced
1327:6ed49334d5c1 1328:b7351ecb79b4
1199 void OrthancPlugins::SetOrthancRestApi(OrthancRestApi& restApi) 1199 void OrthancPlugins::SetOrthancRestApi(OrthancRestApi& restApi)
1200 { 1200 {
1201 pimpl_->restApi_ = &restApi; 1201 pimpl_->restApi_ = &restApi;
1202 } 1202 }
1203 1203
1204
1205 void OrthancPlugins::ResetOrthancRestApi()
1206 {
1207 pimpl_->restApi_ = NULL;
1208 }
1209
1204 1210
1205 bool OrthancPlugins::HasStorageArea() const 1211 bool OrthancPlugins::HasStorageArea() const
1206 { 1212 {
1207 return pimpl_->hasStorageArea_; 1213 return pimpl_->hasStorageArea_;
1208 } 1214 }