comparison Framework/Plugins/IndexBackend.h @ 271:6b18d3fbee82

backward compatibility with Orthanc SDK 0.9.5
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 22 Apr 2021 10:41:29 +0200
parents b0c65094b299
children 16aac0287485 cd9521e04249
comparison
equal deleted inserted replaced
270:5931c2ff22ca 271:6b18d3fbee82
356 { 356 {
357 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); 357 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
358 } 358 }
359 #endif 359 #endif
360 360
361 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
361 // This function corresponds to 362 // This function corresponds to
362 // "Orthanc::Compatibility::ICreateInstance::Apply()" 363 // "Orthanc::Compatibility::ICreateInstance::Apply()"
363 void CreateInstanceGeneric(OrthancPluginCreateInstanceResult& result, 364 void CreateInstanceGeneric(OrthancPluginCreateInstanceResult& result,
364 DatabaseManager& manager, 365 DatabaseManager& manager,
365 const char* hashPatient, 366 const char* hashPatient,
366 const char* hashStudy, 367 const char* hashStudy,
367 const char* hashSeries, 368 const char* hashSeries,
368 const char* hashInstance); 369 const char* hashInstance);
370 #endif
369 371
370 bool LookupGlobalIntegerProperty(int& target /*out*/, 372 bool LookupGlobalIntegerProperty(int& target /*out*/,
371 DatabaseManager& manager, 373 DatabaseManager& manager,
372 const char* serverIdentifier, 374 const char* serverIdentifier,
373 int32_t property); 375 int32_t property);