diff Framework/Oracle/OrthancRestApiCommand.h @ 1097:4383382db01d broker

deprecating LockingEmitter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Oct 2019 22:31:18 +0200
parents 18d53a8b41b7
children 8e3763d1736a
line wrap: on
line diff
--- a/Framework/Oracle/OrthancRestApiCommand.h	Thu Oct 24 09:38:17 2019 +0200
+++ b/Framework/Oracle/OrthancRestApiCommand.h	Thu Oct 24 22:31:18 2019 +0200
@@ -69,6 +69,7 @@
     std::string          body_;
     HttpHeaders          headers_;
     unsigned int         timeout_;
+    bool                 applyPlugins_;  // Only makes sense for Stone as an Orthanc plugin
 
   public:
     OrthancRestApiCommand();
@@ -137,5 +138,15 @@
     {
       return timeout_;
     }
+
+    void SetApplyPlugins(bool applyPlugins)
+    {
+      applyPlugins_ = applyPlugins;
+    }
+
+    bool IsApplyPlugins() const
+    {
+      return applyPlugins_;
+    }
   };
 }