]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg2000.cxx
ENH: Need to include iostream
[gdcm.git] / src / gdcmJpeg2000.cxx
index a6f3a42a90d3a3335e2a7b30c27a9f76257042b5..69f334b5ad2c86e1cc8afcaec349c154b19a898e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJpeg2000.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/10/12 04:35:46 $
-  Version:   $Revision: 1.12 $
+  Date:      $Date: 2005/02/05 01:37:09 $
+  Version:   $Revision: 1.19 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
      PURPOSE.  See the above copyright notices for more information.
                                                                                 
 =========================================================================*/
-//-----------------------------------------------------------------------------
-#include "gdcmFile.h"
+#include "gdcmFileHelper.h"
+#include "gdcmDebug.h"
+
+#include <iostream>
+#include <fstream>
 
 namespace gdcm 
 {
-
 //-----------------------------------------------------------------------------
  /**
  * \brief   routine for JPEG decompression 
@@ -31,13 +33,12 @@ namespace gdcm
  * @warning : not yet made
  */
 
-bool gdcm_read_JPEG2000_file (FILE* fp,void* image_buffer) {
-   (void)fp;                  //FIXME
-   (void)image_buffer;        //FIXME
-   std::cout << "Sorry JPEG 2000 File not yet taken into account" << std::endl;
+bool gdcm_read_JPEG2000_file (std::ifstream* , void* )
+{
+   gdcmWarningMacro( "Sorry JPEG 2000 File not yet taken into account" );
    return false;
 }
-} // end namespace gdcm
 
 //-----------------------------------------------------------------------------
+} // end namespace gdcm