comparison 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
comparison
equal deleted inserted replaced
1096:97cbb2c31a65 1097:4383382db01d
67 Orthanc::HttpMethod method_; 67 Orthanc::HttpMethod method_;
68 std::string uri_; 68 std::string uri_;
69 std::string body_; 69 std::string body_;
70 HttpHeaders headers_; 70 HttpHeaders headers_;
71 unsigned int timeout_; 71 unsigned int timeout_;
72 bool applyPlugins_; // Only makes sense for Stone as an Orthanc plugin
72 73
73 public: 74 public:
74 OrthancRestApiCommand(); 75 OrthancRestApiCommand();
75 76
76 virtual Type GetType() const 77 virtual Type GetType() const
135 136
136 unsigned int GetTimeout() const 137 unsigned int GetTimeout() const
137 { 138 {
138 return timeout_; 139 return timeout_;
139 } 140 }
141
142 void SetApplyPlugins(bool applyPlugins)
143 {
144 applyPlugins_ = applyPlugins;
145 }
146
147 bool IsApplyPlugins() const
148 {
149 return applyPlugins_;
150 }
140 }; 151 };
141 } 152 }