Mercurial > hg > orthanc-stone
comparison Framework/Oracle/GenericOracleRunner.h @ 1150:7aad0984d38a broker
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Nov 2019 12:38:15 +0100 |
parents | a0a33e5ea5bb |
children | 0ca50d275b9a |
comparison
equal
deleted
inserted
replaced
1149:2da8b4d6f8c1 | 1150:7aad0984d38a |
---|---|
24 #if !defined(ORTHANC_ENABLE_DCMTK) | 24 #if !defined(ORTHANC_ENABLE_DCMTK) |
25 # error The macro ORTHANC_ENABLE_DCMTK must be defined | 25 # error The macro ORTHANC_ENABLE_DCMTK must be defined |
26 #endif | 26 #endif |
27 | 27 |
28 #if ORTHANC_ENABLE_DCMTK == 1 | 28 #if ORTHANC_ENABLE_DCMTK == 1 |
29 # include "../Toolbox/ParsedDicomFileCache.h" | 29 # include "../Toolbox/ParsedDicomCache.h" |
30 #endif | 30 #endif |
31 | 31 |
32 #include "IOracleCommand.h" | 32 #include "IOracleCommand.h" |
33 #include "../Messages/IMessageEmitter.h" | 33 #include "../Messages/IMessageEmitter.h" |
34 | 34 |
42 private: | 42 private: |
43 Orthanc::WebServiceParameters orthanc_; | 43 Orthanc::WebServiceParameters orthanc_; |
44 std::string rootDirectory_; | 44 std::string rootDirectory_; |
45 | 45 |
46 #if ORTHANC_ENABLE_DCMTK == 1 | 46 #if ORTHANC_ENABLE_DCMTK == 1 |
47 boost::shared_ptr<ParsedDicomFileCache> dicomCache_; | 47 boost::shared_ptr<ParsedDicomCache> dicomCache_; |
48 #endif | 48 #endif |
49 | 49 |
50 public: | 50 public: |
51 GenericOracleRunner() : | 51 GenericOracleRunner() : |
52 rootDirectory_(".") | 52 rootDirectory_(".") |
72 { | 72 { |
73 return rootDirectory_; | 73 return rootDirectory_; |
74 } | 74 } |
75 | 75 |
76 #if ORTHANC_ENABLE_DCMTK == 1 | 76 #if ORTHANC_ENABLE_DCMTK == 1 |
77 void SetDicomCache(boost::shared_ptr<ParsedDicomFileCache> cache) | 77 void SetDicomCache(boost::shared_ptr<ParsedDicomCache> cache) |
78 { | 78 { |
79 dicomCache_ = cache; | 79 dicomCache_ = cache; |
80 } | 80 } |
81 #endif | 81 #endif |
82 | 82 |