diff Plugins/Engine/OrthancPlugins.h @ 1574:0c29ebe80ac9

give access to full request origin in ReceivedInstanceFilter (Lua)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 13:37:57 +0200
parents 3232f1c995a5
children 2bac60a4f584
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h	Tue Aug 25 13:05:22 2015 +0200
+++ b/Plugins/Engine/OrthancPlugins.h	Tue Aug 25 13:37:57 2015 +0200
@@ -122,8 +122,8 @@
                                       DicomInstanceToStore& instance,
                                       const Json::Value& simplifiedTags);
 
-    virtual bool FilterIncomingInstance(const Json::Value& simplified,
-                                        const std::string& remoteAet)
+    virtual bool FilterIncomingInstance(const DicomInstanceToStore& instance,
+                                        const Json::Value& simplified)
     {
       return true; // TODO Enable filtering of instances from plugins
     }