comparison OrthancServer/ServerContext.cpp @ 376:2cef9c2d4148

separate path for SQLite index, manual loading of external dictionaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Apr 2013 11:13:51 +0200
parents 1b0ffed55ab0
children 9784f19f7e1b 4d5f0857ec9c
comparison
equal deleted inserted replaced
375:d1ea72f1c967 376:2cef9c2d4148
50 * locking. 50 * locking.
51 **/ 51 **/
52 52
53 namespace Orthanc 53 namespace Orthanc
54 { 54 {
55 ServerContext::ServerContext(const boost::filesystem::path& path) : 55 ServerContext::ServerContext(const boost::filesystem::path& storagePath,
56 storage_(path.string()), 56 const boost::filesystem::path& indexPath) :
57 index_(*this, path.string()), 57 storage_(storagePath.string()),
58 index_(*this, indexPath.string()),
58 accessor_(storage_), 59 accessor_(storage_),
59 provider_(*this), 60 provider_(*this),
60 dicomCache_(provider_, DICOM_CACHE_SIZE) 61 dicomCache_(provider_, DICOM_CACHE_SIZE)
61 { 62 {
62 } 63 }