X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDocument.cxx;h=c2a6ceec709e6e60d26d5e5a91e50b081c9b2e7f;hb=dbb25a7b734864a11ba84a5089f7b5e647099f0a;hp=02f2b33e5d373ac6679d7b3844f3fbbd28e409e2;hpb=ba78e6c6d47d6db1528e8e88e5ebde7296a26692;p=gdcm.git diff --git a/Example/PrintDocument.cxx b/Example/PrintDocument.cxx index 02f2b33e..c2a6ceec 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/02/02 10:06:31 $ + Version: $Revision: 1.11 $ 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[]) +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);