comparison OrthancServer/ServerContext.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 cadfe0a2a393
children a3a65de1840f
comparison
equal deleted inserted replaced
2135:cadfe0a2a393 2136:dd609a99d39a
119 storeMD5_(true), 119 storeMD5_(true),
120 provider_(*this), 120 provider_(*this),
121 dicomCache_(provider_, DICOM_CACHE_SIZE), 121 dicomCache_(provider_, DICOM_CACHE_SIZE),
122 scheduler_(Configuration::GetGlobalUnsignedIntegerParameter("LimitJobs", 10)), 122 scheduler_(Configuration::GetGlobalUnsignedIntegerParameter("LimitJobs", 10)),
123 lua_(*this), 123 lua_(*this),
124 #if ORTHANC_PLUGINS_ENABLED == 1 124 #if ORTHANC_ENABLE_PLUGINS == 1
125 plugins_(NULL), 125 plugins_(NULL),
126 #endif 126 #endif
127 done_(false), 127 done_(false),
128 queryRetrieveArchive_(Configuration::GetGlobalUnsignedIntegerParameter("QueryRetrieveSize", 10)), 128 queryRetrieveArchive_(Configuration::GetGlobalUnsignedIntegerParameter("QueryRetrieveSize", 10)),
129 defaultLocalAet_(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC")) 129 defaultLocalAet_(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC"))
535 { 535 {
536 pendingChanges_.Enqueue(change.Clone()); 536 pendingChanges_.Enqueue(change.Clone());
537 } 537 }
538 538
539 539
540 #if ORTHANC_PLUGINS_ENABLED == 1 540 #if ORTHANC_ENABLE_PLUGINS == 1
541 void ServerContext::SetPlugins(OrthancPlugins& plugins) 541 void ServerContext::SetPlugins(OrthancPlugins& plugins)
542 { 542 {
543 boost::recursive_mutex::scoped_lock lock(listenersMutex_); 543 boost::recursive_mutex::scoped_lock lock(listenersMutex_);
544 544
545 plugins_ = &plugins; 545 plugins_ = &plugins;
590 #endif 590 #endif
591 591
592 592
593 bool ServerContext::HasPlugins() const 593 bool ServerContext::HasPlugins() const
594 { 594 {
595 #if ORTHANC_PLUGINS_ENABLED == 1 595 #if ORTHANC_ENABLE_PLUGINS == 1
596 return (plugins_ != NULL); 596 return (plugins_ != NULL);
597 #else 597 #else
598 return false; 598 return false;
599 #endif 599 #endif
600 } 600 }