Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.h @ 1826:ac5b0b4e2434
refactoring of DicomImageDecoder
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Nov 2015 16:00:57 +0100 |
parents | 580951a33583 |
children | 4b6673e828f4 |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h Wed Nov 25 14:24:26 2015 +0100 +++ b/Plugins/Engine/OrthancPlugins.h Wed Nov 25 16:00:57 2015 +0100 @@ -50,6 +50,7 @@ #include "../../Core/FileStorage/IStorageArea.h" #include "../../Core/HttpServer/IHttpHandler.h" #include "../../OrthancServer/IServerListener.h" +#include "../../OrthancServer/IDicomImageDecoder.h" #include "../../OrthancServer/DicomProtocol/IWorklistRequestHandlerFactory.h" #include "OrthancPluginDatabase.h" #include "PluginsManager.h" @@ -65,7 +66,8 @@ public IHttpHandler, public IPluginServiceProvider, public IServerListener, - public IWorklistRequestHandlerFactory + public IWorklistRequestHandlerFactory, + public IDicomImageDecoder { private: struct PImpl; @@ -84,6 +86,8 @@ void RegisterWorklistCallback(const void* parameters); + void RegisterDecodeImageCallback(const void* parameters); + void AnswerBuffer(const void* parameters); void Redirect(const void* parameters); @@ -217,6 +221,9 @@ bool HasWorklistHandler(); virtual IWorklistRequestHandler* ConstructWorklistRequestHandler(); + + virtual ImageAccessor* Decode(ParsedDicomFile& dicom, + unsigned int frame); }; }