comparison Plugins/Engine/OrthancPlugins.h @ 3847:1491d501836a

actual implementation of OrthancPluginRegisterIncomingDicomInstanceFilter()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 17 Apr 2020 16:21:50 +0200
parents 5ff5d5a0fd28
children 8f7ad4989fec
comparison
equal deleted inserted replaced
3846:67e765d51bdf 3847:1491d501836a
122 122
123 void RegisterIncomingHttpRequestFilter(const void* parameters); 123 void RegisterIncomingHttpRequestFilter(const void* parameters);
124 124
125 void RegisterIncomingHttpRequestFilter2(const void* parameters); 125 void RegisterIncomingHttpRequestFilter2(const void* parameters);
126 126
127 void RegisterIncomingDicomInstanceFilter(const void* parameters);
128
127 void RegisterRefreshMetricsCallback(const void* parameters); 129 void RegisterRefreshMetricsCallback(const void* parameters);
128 130
129 void RegisterStorageCommitmentScpCallback(const void* parameters); 131 void RegisterStorageCommitmentScpCallback(const void* parameters);
130 132
131 void AnswerBuffer(const void* parameters); 133 void AnswerBuffer(const void* parameters);
250 virtual void SignalStoredInstance(const std::string& instanceId, 252 virtual void SignalStoredInstance(const std::string& instanceId,
251 DicomInstanceToStore& instance, 253 DicomInstanceToStore& instance,
252 const Json::Value& simplifiedTags) ORTHANC_OVERRIDE; 254 const Json::Value& simplifiedTags) ORTHANC_OVERRIDE;
253 255
254 virtual bool FilterIncomingInstance(const DicomInstanceToStore& instance, 256 virtual bool FilterIncomingInstance(const DicomInstanceToStore& instance,
255 const Json::Value& simplified) ORTHANC_OVERRIDE 257 const Json::Value& simplified) ORTHANC_OVERRIDE;
256 {
257 return true; // TODO Enable filtering of instances from plugins
258 }
259 258
260 bool HasStorageArea() const; 259 bool HasStorageArea() const;
261 260
262 IStorageArea* CreateStorageArea(); // To be freed after use 261 IStorageArea* CreateStorageArea(); // To be freed after use
263 262