]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg2000.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / src / gdcmJpeg2000.cxx
index 1c9c8e499cee9bff82b7c5936fad94392654cc43..a6f3a42a90d3a3335e2a7b30c27a9f76257042b5 100644 (file)
@@ -1,11 +1,28 @@
-// gdcmJpeg2000.cxx
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmJpeg2000.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/10/12 04:35:46 $
+  Version:   $Revision: 1.12 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
 //-----------------------------------------------------------------------------
-#include <stdio.h>
 #include "gdcmFile.h"
 
+namespace gdcm 
+{
+
 //-----------------------------------------------------------------------------
  /**
- * \ingroup gdcmFile
  * \brief   routine for JPEG decompression 
  * @param fp pointer to an already open file descriptor 
  *                      JPEG2000 encoded image
  * @warning : not yet made
  */
 
-bool gdcmFile::gdcm_read_JPEG2000_file (FILE *fp,void * image_buffer) {
-   printf("Sorry JPEG 2000 File not yet taken into account\n");
+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;
    return false;
 }
+} // end namespace gdcm
 
 //-----------------------------------------------------------------------------