]> Creatis software - gdcm.git/commitdiff
* Fix compilation error due to the introduction of the CommandManager
authorregrain <regrain>
Mon, 28 Nov 2005 17:09:22 +0000 (17:09 +0000)
committerregrain <regrain>
Mon, 28 Nov 2005 17:09:22 +0000 (17:09 +0000)
   -- BeNours

Example/MakeDicomDir.cxx

index bb97ae6b2a66609fcaaf2e15a40d0174c430e892..86f7ec752127633f5b62972a5bdf55edd36e1b00 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: MakeDicomDir.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:26 $
-  Version:   $Revision: 1.16 $
+  Date:      $Date: 2005/11/28 17:09:22 $
+  Version:   $Revision: 1.17 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 
 #include <iostream>
 
-// ---
-void StartMethod(void *toto) {
-  (void)toto;
-   std::cout<<"Start parsing"<<std::endl;
-}
-
-void EndMethod(void *toto) {
-  (void)toto;
-   std::cout<<"End parsing"<<std::endl;
-}
-// ---
-
 /**
   * \brief   Explores recursively the given directory
   *          orders the gdcm-readable found Files
@@ -105,9 +93,6 @@ int main(int argc, char *argv[])
 
    dcmdir = gdcm::DicomDir::New( );
 
-   dcmdir->SetStartMethod(StartMethod);
-   dcmdir->SetEndMethod(EndMethod);
-
    dcmdir->SetLoadMode(loadMode);
    dcmdir->SetDirectoryName(dirName);
    //dcmdir->SetParseDir(true);