X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDocument.cxx;fp=Example%2FPrintDocument.cxx;h=8d7a0aadd2f46021f7627861abda286951998f88;hb=c094e185dd6404df031524ccae8e1b51e3b84871;hp=02f2b33e5d373ac6679d7b3844f3fbbd28e409e2;hpb=32d0aec747e450189a2b1f4f8552cf5d0b3deca9;p=gdcm.git diff --git a/Example/PrintDocument.cxx b/Example/PrintDocument.cxx index 02f2b33e..8d7a0aad 100644 --- a/Example/PrintDocument.cxx +++ b/Example/PrintDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintDocument.cxx,v $ Language: C++ - Date: $Date: 2004/12/03 20:16:55 $ - Version: $Revision: 1.9 $ + Date: $Date: 2005/01/21 11:40:52 $ + Version: $Revision: 1.10 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -15,14 +15,14 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#include "gdcmHeader.h" +#include "gdcmFile.h" #include int main(int argc, char* argv[]) { - gdcm::Header *e1; + gdcm::File *e1; std::string fileName; if (argc != 2) { @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) fileName += "/test.acr"; } - e1= new gdcm::Header( fileName.c_str() ); + e1= new gdcm::File( fileName.c_str() ); e1->SetPrintLevel(2);