X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWrite.cxx;h=43e376870c193c597def1025a3378e7279d475bc;hb=0328b825e66dd367845c51cb7aaf0e1d94607bdb;hp=120f73cb03534d8a5b84eba432a747af77736708;hpb=cba27e8db47fefa11652b98dd81d782c13eb9a80;p=gdcm.git diff --git a/Example/Write.cxx b/Example/Write.cxx index 120f73cb..43e37687 100644 --- a/Example/Write.cxx +++ b/Example/Write.cxx @@ -1,9 +1,6 @@ #include -#include "gdcm.h" -#include "gdcmHeader.h" -#include "gdcmDocument.h" - #include +#include "gdcm.h" int main(int argc, char* argv[]) { @@ -48,7 +45,7 @@ int main(int argc, char* argv[]) toto = argv[1]; - e1 = new gdcmHeader(toto.c_str(), false, true); + e1 = new gdcmHeader( toto.c_str() ); if (!e1->IsReadable()) { std::cerr << "Sorry, not a Readable DICOM / ACR File" <