X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestMakeDicomDir.cxx;h=50148523f3101885d38330f44eee9286d8a41db1;hb=41559a6f2d66bcd4af4db17a0d9668df37d19f3b;hp=ec4edc48b95ce4188e73188eb220f1e5ef4f3311;hpb=82afaad85d04083d5d7945e2a70a79a720a9ba3a;p=gdcm.git diff --git a/Testing/TestMakeDicomDir.cxx b/Testing/TestMakeDicomDir.cxx index ec4edc48..50148523 100644 --- a/Testing/TestMakeDicomDir.cxx +++ b/Testing/TestMakeDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestMakeDicomDir.cxx,v $ Language: C++ - Date: $Date: 2005/11/28 15:20:29 $ - Version: $Revision: 1.11 $ + Date: $Date: 2005/11/28 16:31:19 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,6 +19,7 @@ #include "gdcmDicomDir.h" #include "gdcmDicomDirPatient.h" #include "gdcmDirList.h" +#include "gdcmCommandManager.h" #include "gdcmDebug.h" // --- @@ -110,13 +111,13 @@ int TestMakeDicomDir(int argc, char *argv[]) gdcm::Command *cmd; cmd = CommandStart::New(); - dcmdir->SetCommand(gdcm::CMD_STARTPROGRESS,cmd); + gdcm::CommandManager::SetCommand(dcmdir,gdcm::CMD_STARTPROGRESS,cmd); cmd->Delete(); cmd = CommandProgress::New(); - dcmdir->SetCommand(gdcm::CMD_PROGRESS,cmd); + gdcm::CommandManager::SetCommand(dcmdir,gdcm::CMD_PROGRESS,cmd); cmd->Delete(); cmd = CommandEnd::New(); - dcmdir->SetCommand(gdcm::CMD_ENDPROGRESS,cmd); + gdcm::CommandManager::SetCommand(dcmdir,gdcm::CMD_ENDPROGRESS,cmd); cmd->Delete(); // dcmdir->SetLoadMode(gdcm::LD_NOSEQ | gdcm::LD_NOSHADOW);