Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 2671:06c0a6b8a871 jobs
new command-line argument: --no-jobs
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 11 Jun 2018 09:20:04 +0200 |
parents | d26dd081df97 |
children | 3efc44fac209 |
comparison
equal
deleted
inserted
replaced
2670:c5646f766b3e | 2671:06c0a6b8a871 |
---|---|
108 unsigned int sleepDelay); | 108 unsigned int sleepDelay); |
109 | 109 |
110 void ReadDicomAsJsonInternal(std::string& result, | 110 void ReadDicomAsJsonInternal(std::string& result, |
111 const std::string& instancePublicId); | 111 const std::string& instancePublicId); |
112 | 112 |
113 void SetupJobsEngine(bool unitTesting); | 113 void SetupJobsEngine(bool unitTesting, |
114 bool loadJobsFromDatabase); | |
114 | 115 |
115 void SaveJobsEngine(); | 116 void SaveJobsEngine(); |
116 | 117 |
117 ServerIndex index_; | 118 ServerIndex index_; |
118 IStorageArea& area_; | 119 IStorageArea& area_; |
162 } | 163 } |
163 }; | 164 }; |
164 | 165 |
165 ServerContext(IDatabaseWrapper& database, | 166 ServerContext(IDatabaseWrapper& database, |
166 IStorageArea& area, | 167 IStorageArea& area, |
167 bool unitTesting); | 168 bool unitTesting, |
169 bool loadJobsFromDatabase); | |
168 | 170 |
169 ~ServerContext(); | 171 ~ServerContext(); |
170 | 172 |
171 ServerIndex& GetIndex() | 173 ServerIndex& GetIndex() |
172 { | 174 { |