]> Creatis software - gdcm.git/blobdiff - src/gdcmCallbackCommand.h
The bad hack I made to bypass illegal images where undefined length UN data
[gdcm.git] / src / gdcmCallbackCommand.h
index 365ce602b69fa4dcb6e8e68901404b57318d45c1..1c4ad9dafce364befc9000488b8e3bec115b12ba 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCallbackCommand.h,v $
   Language:  C++
-  Date:      $Date: 2007/05/23 14:18:07 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2007/09/18 15:59:48 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -16,8 +16,8 @@
                                                                                 
 =========================================================================*/
 
-#ifndef GDCMCALLBACKCOMMAND_H
-#define GDCMCALLBACKCOMMAND_H
+#ifndef _GDCMCALLBACKCOMMAND_H_
+#define _GDCMCALLBACKCOMMAND_H_
 
 #include "gdcmDebug.h"
 #include "gdcmCommand.h"
@@ -42,10 +42,14 @@ public:
 /*   // Note: the CallbackCommand:: namespace prefix is needed by Swig in the 
    //       following method declarations. Refer to gdcmPython/gdcm.i
    //       for the reasons of this unnecessary notation at C++ level.
+   
    void SetCallback(CallbackCommand::CbkMethod *callback,void *arg = NULL );
+   
    void SetCallbackArgDelete(CallbackCommand::CbkMethod *callback);
+   
    // Note: replace CallbackCommand::Method *method to void(*method)(void *) to
    //       avoid wrapping problems with the typemap conversions
+   
    void SetCallback(void(*callback)(void *), // CallbackCommand::Method *method
                     void *arg,
                     void(*argDelete)(void *));