]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg2000.cxx
Cosmetic modifs to be more Coding style compliant
[gdcm.git] / src / gdcmJpeg2000.cxx
index 293930040df33b40bf900370d037efb873207c46..f14f6cd0ad36be51c87031a4a2861acd34b1820a 100644 (file)
@@ -1,29 +1,25 @@
-//This is needed when compiling in debug mode
-#ifdef _MSC_VER
-// 'identifier' : class 'type' needs to have dll-interface to be used by
-// clients of class 'type2'
-#pragma warning ( disable : 4251 )
-// 'identifier' : identifier was truncated to 'number' characters in the
-// debug information
-#pragma warning ( disable : 4786 )
-#endif //_MSC_VER
- /* -------------------------------------------------------------------- */
- //
- // JPEG 2000 Files
- //
- /* -------------------------------------------------------------------- */
-
+// gdcmJpeg2000.cxx
+//-----------------------------------------------------------------------------
 #include <stdio.h>
 #include "gdcmFile.h"
 
-int
-gdcmFile::gdcm_read_JPEG2000_file (void * image_buffer) {
-
+//-----------------------------------------------------------------------------
+ /**
+ * \ingroup gdcmFile
+ * \brief   routine for JPEG decompression 
+ * @param fp pointer to an already open file descriptor 
+ *                      JPEG2000 encoded image
+ * @param image_buffer to receive uncompressed pixels
+ * @return 1 on success, 0 on error
+ * @warning : not yet made
+ */
 
+bool gdcmFile::gdcm_read_JPEG2000_file (FILE* fp,void* image_buffer) {
+   (void)fp;                  //FIXME
+   (void)image_buffer;        //FIXME
    printf("Sorry JPEG 2000 File not yet taken into account\n");
-   return 0;
+   return false;
 }
 
+//-----------------------------------------------------------------------------