Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp Tue Apr 16 17:33:44 2013 +0200 +++ b/OrthancServer/ServerContext.cpp Wed Apr 17 11:13:51 2013 +0200 @@ -52,9 +52,10 @@ namespace Orthanc { - ServerContext::ServerContext(const boost::filesystem::path& path) : - storage_(path.string()), - index_(*this, path.string()), + ServerContext::ServerContext(const boost::filesystem::path& storagePath, + const boost::filesystem::path& indexPath) : + storage_(storagePath.string()), + index_(*this, indexPath.string()), accessor_(storage_), provider_(*this), dicomCache_(provider_, DICOM_CACHE_SIZE)