]> Creatis software - gdcm.git/blobdiff - Example/exOverlaysACR.cxx
* Remove #define and replace then by the call to the corresponding
[gdcm.git] / Example / exOverlaysACR.cxx
index 00fa7520850e2002f58e46139ab9f7510e84242c..3af7774caf20e25d6a3584fb27404f9aba3083c4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: exOverlaysACR.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/07/07 17:31:54 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2005/08/30 15:13:06 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -22,7 +22,8 @@
 #include "gdcmDocEntry.h"
 
 #include <iostream>
- #include <stdio.h>
+#include <stdio.h> // for fseek... FIXME
+#include <stdlib.h> // for atoi
  
  // WARNING :
  // unfinished : DO NOT to be used as is !
@@ -87,7 +88,7 @@ int main(int argc, char *argv[])
 
    f = new gdcm::File( );
 
-   f->SetLoadMode(NO_SEQ | NO_SHADOW);
+   f->SetLoadMode(gdcm::LD_NOSEQ | gdcm::LD_NOSHADOW);
    f->SetFileName( fileName );
    bool res = f->Load();