]> Creatis software - gdcm.git/blobdiff - src/gdcmCallbackCommand.h
Fix mistypings
[gdcm.git] / src / gdcmCallbackCommand.h
index d47315ea26b3db08e3b39d7867303892476c522d..1c4ad9dafce364befc9000488b8e3bec115b12ba 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCallbackCommand.h,v $
   Language:  C++
-  Date:      $Date: 2005/11/28 15:20:35 $
-  Version:   $Revision: 1.1 $
+  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
                                                                                 
 =========================================================================*/
 
-#ifndef GDCMCALLBACKCOMMAND_H
-#define GDCMCALLBACKCOMMAND_H
+#ifndef _GDCMCALLBACKCOMMAND_H_
+#define _GDCMCALLBACKCOMMAND_H_
 
 #include "gdcmDebug.h"
 #include "gdcmCommand.h"
 
-namespace gdcm 
+namespace GDCM_NAME_SPACE 
 {
 //-----------------------------------------------------------------------------
 /**
@@ -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 *));