-//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;
}
+//-----------------------------------------------------------------------------