diff OrthancServer/OrthancRestApi/OrthancRestModalities.cpp @ 1000:13e230bbd882 lua-scripting

rename filter to command
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jul 2014 14:14:14 +0200
parents db18c071fbd7
children 871c49c9b11d
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestModalities.cpp	Fri Jul 04 14:09:53 2014 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestModalities.cpp	Fri Jul 04 14:14:14 2014 +0200
@@ -37,7 +37,7 @@
 #include "../../Core/HttpClient.h"
 #include "../FromDcmtkBridge.h"
 #include "../Scheduler/ServerJob.h"
-#include "../Scheduler/StoreScuFilter.h"
+#include "../Scheduler/StoreScuCommand.h"
 
 #include <glog/logging.h>
 
@@ -328,7 +328,7 @@
     for (std::list<std::string>::const_iterator 
            it = instances.begin(); it != instances.end(); ++it)
     {
-      job.AddFilter(new StoreScuFilter(context, p)).AddInput(*it);
+      job.AddCommand(new StoreScuCommand(context, p)).AddInput(*it);
     }
 
     job.SetDescription("Store-SCU from HTTP to modality \"" + remote + "\"");