X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmCallbackCommand.cxx;h=499bf2e38cb935096b2482e9ee94556b780a114f;hb=0bcc188c6d5185375f809253e8b9b97c856d2eac;hp=d8046f33ac53ba2492928d62103409a12257bad8;hpb=33b1eec26f02131242fbfdef52184b24763cf4e6;p=gdcm.git diff --git a/src/gdcmCallbackCommand.cxx b/src/gdcmCallbackCommand.cxx index d8046f33..499bf2e3 100644 --- a/src/gdcmCallbackCommand.cxx +++ b/src/gdcmCallbackCommand.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmCallbackCommand.cxx,v $ Language: C++ - Date: $Date: 2005/11/29 17:21:33 $ - 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 @@ -18,7 +18,7 @@ // --------------------------------------------------------------- #include "gdcmCallbackCommand.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- // Constructor / Destructor @@ -44,35 +44,36 @@ CallbackCommand::~CallbackCommand () // Public /** * \brief Set the callback method - * @param method Method to call + * @param callback Method to call * @param arg Argument to pass to the method * \warning In python : the arg parameter isn't considered */ + /*void CallbackCommand::SetCallback( CallbackCommand::CbkMethod *callback,void *arg ) { SetCallback(callback,arg,NULL); }*/ -/** - * \brief Set the callback method to delete the argument +/* + *\brief Set the callback method to delete the argument * The argument is destroyed when the callback method is changed * or when the class is destroyed - * @param method Method to call to delete the argument + * @param callback Method to call to delete the argument */ /*void CallbackCommand::SetCallbackArgDelete( CallbackCommand::CbkMethod *callback ) { CallbackArgDelete = callback; }*/ -/** - * \brief Set the callback method - * @param method Method to call +/* + *\brief Set the callback method + * @param callback Method to call * @param arg Argument to pass to the method * @param argDelete Argument * \warning In python : the arg parameter isn't considered */ /*void CallbackCommand::SetCallback( void(*callback)(void *), - void *arg,void(*argDelete)(void *) ) + void *arg, void(*argDelete)(void *) ) { if ( CallbackArg && CallbackArgDelete ) {