Mercurial > hg > orthanc
comparison OrthancServer/OrthancInitialization.cpp @ 3160:fc9a4a2dad63
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 24 Jan 2019 10:55:19 +0100 |
parents | 2e1808b6146a |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3159:4cfed5c2eacd | 3160:fc9a4a2dad63 |
---|---|
43 #include "../Core/DicomParsing/FromDcmtkBridge.h" | 43 #include "../Core/DicomParsing/FromDcmtkBridge.h" |
44 #include "../Core/FileStorage/FilesystemStorage.h" | 44 #include "../Core/FileStorage/FilesystemStorage.h" |
45 #include "../Core/Logging.h" | 45 #include "../Core/Logging.h" |
46 #include "../Core/OrthancException.h" | 46 #include "../Core/OrthancException.h" |
47 | 47 |
48 #include "DatabaseWrapper.h" | 48 #include "Database/SQLiteDatabaseWrapper.h" |
49 #include "OrthancConfiguration.h" | 49 #include "OrthancConfiguration.h" |
50 | 50 |
51 #include <dcmtk/dcmnet/dul.h> // For dcmDisableGethostbyaddr() | 51 #include <dcmtk/dcmnet/dul.h> // For dcmDisableGethostbyaddr() |
52 | 52 |
53 | 53 |
306 } | 306 } |
307 catch (boost::filesystem::filesystem_error&) | 307 catch (boost::filesystem::filesystem_error&) |
308 { | 308 { |
309 } | 309 } |
310 | 310 |
311 return new DatabaseWrapper(indexDirectory.string() + "/index"); | 311 return new SQLiteDatabaseWrapper(indexDirectory.string() + "/index"); |
312 } | 312 } |
313 | 313 |
314 | 314 |
315 namespace | 315 namespace |
316 { | 316 { |