diff 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
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Sat Jun 09 14:23:54 2018 +0200
+++ b/OrthancServer/ServerContext.h	Mon Jun 11 09:20:04 2018 +0200
@@ -110,7 +110,8 @@
     void ReadDicomAsJsonInternal(std::string& result,
                                  const std::string& instancePublicId);
 
-    void SetupJobsEngine(bool unitTesting);
+    void SetupJobsEngine(bool unitTesting,
+                         bool loadJobsFromDatabase);
 
     void SaveJobsEngine();
 
@@ -164,7 +165,8 @@
 
     ServerContext(IDatabaseWrapper& database,
                   IStorageArea& area,
-                  bool unitTesting);
+                  bool unitTesting,
+                  bool loadJobsFromDatabase);
 
     ~ServerContext();