comparison Plugins/Engine/OrthancPlugins.cpp @ 1673:0bbcfd9695e5 db-changes

UpgradeDatabase in the sample plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 Oct 2015 13:26:05 +0200
parents a412ad57f0f9
children 1ae29c5e52fb 5e99a70b0635
comparison
equal deleted inserted replaced
1672:4c5a85c3ff43 1673:0bbcfd9695e5
1720 throw OrthancException(ErrorCode_DatabasePlugin); 1720 throw OrthancException(ErrorCode_DatabasePlugin);
1721 } 1721 }
1722 1722
1723 IStorageArea& storage = *reinterpret_cast<IStorageArea*>(p.storageArea); 1723 IStorageArea& storage = *reinterpret_cast<IStorageArea*>(p.storageArea);
1724 Toolbox::ReconstructMainDicomTags(*pimpl_->database_, storage, Plugins::Convert(p.level)); 1724 Toolbox::ReconstructMainDicomTags(*pimpl_->database_, storage, Plugins::Convert(p.level));
1725
1725 return true; 1726 return true;
1726 } 1727 }
1727 1728
1728 default: 1729 default:
1729 { 1730 {