comparison OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 2136:dd609a99d39a

uniformization of the macro naming
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 14:08:05 +0100
parents bb199bccdc45
children aa4b8895cd23
comparison
equal deleted inserted replaced
2135:cadfe0a2a393 2136:dd609a99d39a
376 376
377 try 377 try
378 { 378 {
379 std::string publicId = call.GetUriComponent("id", ""); 379 std::string publicId = call.GetUriComponent("id", "");
380 380
381 #if ORTHANC_PLUGINS_ENABLED == 1 381 #if ORTHANC_ENABLE_PLUGINS == 1
382 if (context.GetPlugins().HasCustomImageDecoder()) 382 if (context.GetPlugins().HasCustomImageDecoder())
383 { 383 {
384 // TODO create a cache of file 384 // TODO create a cache of file
385 std::string dicomContent; 385 std::string dicomContent;
386 context.ReadDicom(dicomContent, publicId); 386 context.ReadDicom(dicomContent, publicId);
453 453
454 std::string publicId = call.GetUriComponent("id", ""); 454 std::string publicId = call.GetUriComponent("id", "");
455 std::string dicomContent; 455 std::string dicomContent;
456 context.ReadDicom(dicomContent, publicId); 456 context.ReadDicom(dicomContent, publicId);
457 457
458 #if ORTHANC_PLUGINS_ENABLED == 1 458 #if ORTHANC_ENABLE_PLUGINS == 1
459 IDicomImageDecoder& decoder = context.GetPlugins(); 459 IDicomImageDecoder& decoder = context.GetPlugins();
460 #else 460 #else
461 DefaultDicomImageDecoder decoder; // This is Orthanc's built-in decoder 461 DefaultDicomImageDecoder decoder; // This is Orthanc's built-in decoder
462 #endif 462 #endif
463 463