X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmCallbackCommand.h;h=1c4ad9dafce364befc9000488b8e3bec115b12ba;hb=c1a305b54c1a9dd1bfe2173940ba84ccd1b4bb27;hp=6f7a7b37da1028f2799f9b0a1c39f4b055232def;hpb=745e3abcf3563cd15ebb92316d6dd800d8199340;p=gdcm.git diff --git a/src/gdcmCallbackCommand.h b/src/gdcmCallbackCommand.h index 6f7a7b37..1c4ad9da 100644 --- a/src/gdcmCallbackCommand.h +++ b/src/gdcmCallbackCommand.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmCallbackCommand.h,v $ Language: C++ - Date: $Date: 2007/08/22 16:14:03 $ - Version: $Revision: 1.3 $ + 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 @@ -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 *));