X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDocument.cxx;h=c2a6ceec709e6e60d26d5e5a91e50b081c9b2e7f;hb=09eb38b5b2fe392e64390b7c2eadf822541f92ba;hp=43b95b13c09fc3c52577df0f7240ab9bea1225db;hpb=978f699b97794e209f9d20e2a33a72404bda54ef;p=gdcm.git diff --git a/Example/PrintDocument.cxx b/Example/PrintDocument.cxx index 43b95b13..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/11/16 04:26:17 $ - Version: $Revision: 1.8 $ + 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,13 +15,14 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ +#include "gdcmFile.h" + #include -#include "gdcm.h" -int main(int argc, char* argv[]) +int main(int argc, char *argv[]) { - gdcm::Header *e1; + gdcm::File *e1; std::string fileName; if (argc != 2) { @@ -38,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);