comparison Plugins/Engine/OrthancPlugins.h @ 2815:925d8dc03a23

unserialization of jobs from plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Sep 2018 16:34:21 +0200
parents 37583cd183ed
children ccf61f6e22ef
comparison
equal deleted inserted replaced
2814:7d1d3136f6cf 2815:925d8dc03a23
57 #include "../../Core/DicomNetworking/IMoveRequestHandlerFactory.h" 57 #include "../../Core/DicomNetworking/IMoveRequestHandlerFactory.h"
58 #include "../../Core/DicomNetworking/IWorklistRequestHandlerFactory.h" 58 #include "../../Core/DicomNetworking/IWorklistRequestHandlerFactory.h"
59 #include "../../Core/FileStorage/IStorageArea.h" 59 #include "../../Core/FileStorage/IStorageArea.h"
60 #include "../../Core/HttpServer/IHttpHandler.h" 60 #include "../../Core/HttpServer/IHttpHandler.h"
61 #include "../../Core/HttpServer/IIncomingHttpRequestFilter.h" 61 #include "../../Core/HttpServer/IIncomingHttpRequestFilter.h"
62 #include "../../Core/JobsEngine/IJob.h"
62 #include "../../OrthancServer/IDicomImageDecoder.h" 63 #include "../../OrthancServer/IDicomImageDecoder.h"
63 #include "../../OrthancServer/IServerListener.h" 64 #include "../../OrthancServer/IServerListener.h"
64 #include "OrthancPluginDatabase.h" 65 #include "OrthancPluginDatabase.h"
65 #include "PluginsManager.h" 66 #include "PluginsManager.h"
66 67
306 307
307 bool HasMoveHandler(); 308 bool HasMoveHandler();
308 309
309 virtual IMoveRequestHandler* ConstructMoveRequestHandler(); 310 virtual IMoveRequestHandler* ConstructMoveRequestHandler();
310 311
311 bool UnserializeJob(const Json::Value& value); 312 IJob* UnserializeJob(const std::string& type,
313 const Json::Value& value);
312 }; 314 };
313 } 315 }
314 316
315 #endif 317 #endif