Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.h @ 1999:364cc624eb65
New URI "/modalities/.../move" to issue C-Move SCU requests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 26 May 2016 14:24:56 +0200 |
parents | f0acfa753973 |
children | 39329372b667 |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h Wed May 25 15:16:17 2016 +0200 +++ b/Plugins/Engine/OrthancPlugins.h Thu May 26 14:24:56 2016 +0200 @@ -54,6 +54,7 @@ #include "../../OrthancServer/IDicomImageDecoder.h" #include "../../OrthancServer/DicomProtocol/IWorklistRequestHandlerFactory.h" #include "../../OrthancServer/DicomProtocol/IFindRequestHandlerFactory.h" +#include "../../OrthancServer/DicomProtocol/IMoveRequestHandlerFactory.h" #include "OrthancPluginDatabase.h" #include "PluginsManager.h" @@ -71,7 +72,8 @@ public IWorklistRequestHandlerFactory, public IDicomImageDecoder, public IIncomingHttpRequestFilter, - public IFindRequestHandlerFactory + public IFindRequestHandlerFactory, + public IMoveRequestHandlerFactory { private: struct PImpl; @@ -79,6 +81,7 @@ class WorklistHandler; class FindHandler; + class MoveHandler; void CheckContextAvailable(); @@ -93,6 +96,8 @@ void RegisterFindCallback(const void* parameters); + void RegisterMoveCallback(const void* parameters); + void RegisterDecodeImageCallback(const void* parameters); void RegisterIncomingHttpRequestFilter(const void* parameters); @@ -260,6 +265,10 @@ bool HasFindHandler(); virtual IFindRequestHandler* ConstructFindRequestHandler(); + + bool HasMoveHandler(); + + virtual IMoveRequestHandler* ConstructMoveRequestHandler(); }; }