diff OrthancServer/Internals/DicomFrameIndex.h @ 1956:fc16ee04e71b

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 06 Apr 2016 14:22:48 +0200
parents 533ff46e944b
children a3a65de1840f
line wrap: on
line diff
--- a/OrthancServer/Internals/DicomFrameIndex.h	Wed Apr 06 08:41:47 2016 +0200
+++ b/OrthancServer/Internals/DicomFrameIndex.h	Wed Apr 06 14:22:48 2016 +0200
@@ -33,6 +33,7 @@
 #pragma once
 
 #include <dcmtk/dcmdata/dcdatset.h>
+#include <dcmtk/dcmdata/dcfilefo.h>
 #include <vector>
 #include <stdint.h>
 #include <boost/noncopyable.hpp>
@@ -62,7 +63,7 @@
     unsigned int           countFrames_;
 
   public:
-    DicomFrameIndex(DcmDataset& dataset);
+    DicomFrameIndex(DcmFileFormat& dicom);
 
     unsigned int GetFramesCount() const
     {
@@ -72,8 +73,8 @@
     void GetRawFrame(std::string& frame,
                      unsigned int index) const;
 
-    static bool IsVideo(const DcmDataset& dataset);
+    static bool IsVideo(DcmFileFormat& dicom);
 
-    static unsigned int GetFramesCount(DcmDataset& dataset);
+    static unsigned int GetFramesCount(DcmFileFormat& dicom);
   };
 }