]> Creatis software - gdcm.git/blobdiff - Example/PrintDocument.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / Example / PrintDocument.cxx
index 09305c570d3ab7d1b486815b3e0937e9941cfb97..8e9bba04adde9affc5a4384ed2d168bc87250c6d 100644 (file)
@@ -4,7 +4,7 @@
 int main(int argc, char* argv[])
 {
  
-   gdcmHeader *e1;
+   gdcm::Header *e1;
    std::string fileName;   
 
    if (argc != 2) {
@@ -21,7 +21,7 @@ int main(int argc, char* argv[])
       fileName += "/test.acr";
    }
    
-   e1= new gdcmHeader( fileName.c_str() );
+   e1= new gdcm::Header( fileName.c_str() );
 
    e1->SetPrintLevel(2);