X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDocument.cxx;h=8e9bba04adde9affc5a4384ed2d168bc87250c6d;hb=933fb20f37f5f900c53c59b2a739e18303bd60d8;hp=d3ceeb25dafc9157d92c24d848f5bcec7dc7914a;hpb=64429225702c1ca65ea3b6882be0e19c94509843;p=gdcm.git diff --git a/Example/PrintDocument.cxx b/Example/PrintDocument.cxx index d3ceeb25..8e9bba04 100644 --- a/Example/PrintDocument.cxx +++ b/Example/PrintDocument.cxx @@ -4,12 +4,14 @@ int main(int argc, char* argv[]) { - gdcmHeader *e1; + gdcm::Header *e1; std::string fileName; if (argc != 2) { - std::cout << " Usage : " << argv[0] - << " filename." << std::endl; + std::cout << " Usage : " + << argv[0] + << " filename." + << std::endl; } if (argc > 1) { @@ -19,8 +21,7 @@ int main(int argc, char* argv[]) fileName += "/test.acr"; } - e1= new gdcmHeader - (fileName.c_str(),false, true); + e1= new gdcm::Header( fileName.c_str() ); e1->SetPrintLevel(2);