diff OrthancServer/ParsedDicomFile.cpp @ 1800:30e97a1f4093 worklists

callback for handling worklists with plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 20 Nov 2015 13:53:20 +0100
parents 6a2d507ef064
children f08978b1f45b
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Fri Nov 20 12:57:14 2015 +0100
+++ b/OrthancServer/ParsedDicomFile.cpp	Fri Nov 20 13:53:20 2015 +0100
@@ -153,7 +153,8 @@
 
 
   // This method can only be called from the constructors!
-  void ParsedDicomFile::Setup(const char* buffer, size_t size)
+  void ParsedDicomFile::Setup(const void* buffer, 
+                              size_t size)
   {
     DcmInputBufferStream is;
     if (size > 0)
@@ -835,7 +836,8 @@
   }
 
 
-  ParsedDicomFile::ParsedDicomFile(const char* content, size_t size) : pimpl_(new PImpl)
+  ParsedDicomFile::ParsedDicomFile(const void* content, 
+                                   size_t size) : pimpl_(new PImpl)
   {
     Setup(content, size);
   }