diff OrthancServer/Sources/OrthancWebDav.h @ 4243:64f57c9d5f79

configuration options for webdav
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2020 18:10:24 +0200
parents 5cfa6ba75dfc
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancWebDav.h	Fri Oct 09 17:51:06 2020 +0200
+++ b/OrthancServer/Sources/OrthancWebDav.h	Fri Oct 09 18:10:24 2020 +0200
@@ -92,6 +92,7 @@
   
     ServerContext&          context_;
     bool                    allowDicomDelete_;
+    bool                    allowUpload_;
     std::unique_ptr<INode>  patients_;
     std::unique_ptr<INode>  studies_;
     std::unique_ptr<INode>  dates_;
@@ -100,11 +101,12 @@
     WebDavStorage           uploads_;
     SharedMessageQueue      uploadQueue_;
     boost::thread           uploadThread_;
-    bool                    running_;
+    bool                    uploadRunning_;
   
   public:
     OrthancWebDav(ServerContext& context,
-                  bool allowDicomDelete);
+                  bool allowDicomDelete,
+                  bool allowUpload);
 
     virtual ~OrthancWebDav()
     {