Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Engine/OrthancPlugins.cpp @ 5030:d6ed4c73c719 delayed-deletion
SDK: Added GetDatabaseServerIdentifier
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 21 Jun 2022 17:29:17 +0200 |
parents | 964bbf5cb365 |
children | 877bc3b96476 |
comparison
equal
deleted
inserted
replaced
5029:6fd815fae50f | 5030:d6ed4c73c719 |
---|---|
5619 *reinterpret_cast<const _OrthancPluginRegisterWebDavCollection*>(parameters); | 5619 *reinterpret_cast<const _OrthancPluginRegisterWebDavCollection*>(parameters); |
5620 pimpl_->webDavCollections_.push_back(new WebDavCollection(GetErrorDictionary(), p)); | 5620 pimpl_->webDavCollections_.push_back(new WebDavCollection(GetErrorDictionary(), p)); |
5621 return true; | 5621 return true; |
5622 } | 5622 } |
5623 | 5623 |
5624 case _OrthancPluginService_GetDatabaseServerIdentifier: | |
5625 { | |
5626 const _OrthancPluginRetrieveStaticString& p = | |
5627 *reinterpret_cast<const _OrthancPluginRetrieveStaticString*>(parameters); | |
5628 | |
5629 *p.result = pimpl_->databaseServerIdentifier_.c_str(); | |
5630 | |
5631 return true; | |
5632 } | |
5633 | |
5624 default: | 5634 default: |
5625 { | 5635 { |
5626 // This service is unknown to the Orthanc plugin engine | 5636 // This service is unknown to the Orthanc plugin engine |
5627 return false; | 5637 return false; |
5628 } | 5638 } |