comparison OrthancServer/ServerContext.cpp @ 1134:ba9fd42284d0

preparing storage plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Sep 2014 12:53:49 +0200
parents 382e162c074c
children 0479d02c6778
comparison
equal deleted inserted replaced
1133:382e162c074c 1134:ba9fd42284d0
69 * locking. 69 * locking.
70 **/ 70 **/
71 71
72 namespace Orthanc 72 namespace Orthanc
73 { 73 {
74 ServerContext::ServerContext(IStorageArea& storage, 74 ServerContext::ServerContext(const boost::filesystem::path& indexPath) :
75 const boost::filesystem::path& indexPath) :
76 index_(*this, indexPath.string()), 75 index_(*this, indexPath.string()),
77 accessor_(storage),
78 compressionEnabled_(false), 76 compressionEnabled_(false),
79 provider_(*this), 77 provider_(*this),
80 dicomCache_(provider_, DICOM_CACHE_SIZE), 78 dicomCache_(provider_, DICOM_CACHE_SIZE),
81 scheduler_(Configuration::GetGlobalIntegerParameter("LimitJobs", 10)), 79 scheduler_(Configuration::GetGlobalIntegerParameter("LimitJobs", 10)),
82 plugins_(NULL) 80 plugins_(NULL)