00001 /* 00002 * 00003 * Copyright (C) 1994-2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * 00014 * Module: dcmdata 00015 * 00016 * Author: Andrew Hewett 00017 * 00018 * Purpose: Provide prototype of command line argument gathering routine 00019 * for OS environments which cannot pass arguments on the command line. 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:15:40 $ 00023 * CVS/RCS Revision: $Revision: 1.10 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef CMDLNARG_H 00031 #define CMDLNARG_H 00032 00033 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00034 00042 void prepareCmdLineArgs(int& argc, char** argv, const char* progname = "aProgram"); 00043 00044 #endif 00045 00046 /* 00047 ** CVS/RCS Log: 00048 ** $Log: cmdlnarg.h,v $ 00049 ** Revision 1.10 2010-10-14 13:15:40 joergr 00050 ** Updated copyright header. Added reference to COPYRIGHT file. 00051 ** 00052 ** Revision 1.9 2009-11-04 09:58:07 uli 00053 ** Switched to logging mechanism provided by the "new" oflog module 00054 ** 00055 ** Revision 1.8 2007-11-29 14:30:35 meichel 00056 ** Updated doxygen API documentation 00057 ** 00058 ** Revision 1.7 2005/12/08 16:27:58 meichel 00059 ** Changed include path schema for all DCMTK header files 00060 ** 00061 ** Revision 1.6 2001/06/01 15:48:31 meichel 00062 ** Updated copyright header 00063 ** 00064 ** Revision 1.5 2000/04/14 16:01:22 meichel 00065 ** Minor changes for thread safety. 00066 ** 00067 ** Revision 1.4 2000/03/08 16:26:10 meichel 00068 ** Updated copyright header. 00069 ** 00070 ** Revision 1.3 1999/03/31 09:24:28 meichel 00071 ** Updated copyright header in module dcmdata 00072 ** 00073 ** Revision 1.2 1996/09/27 08:22:21 hewett 00074 ** Added defines to protect from multiple inclusion. 00075 ** 00076 ** Revision 1.1 1996/09/24 16:17:59 hewett 00077 ** Moved from dcmdata/apps and dcmnet/apps (now part of the dcmdata library). 00078 ** 00079 ** Revision 1.2 1996/09/03 11:39:01 hewett 00080 ** Added copyright information. 00081 ** 00082 ** Revision 1.1.1.1 1996/03/26 18:38:44 hewett 00083 ** Initial Release. 00084 ** 00085 ** Revision 1.1.1.1 1996/03/25 15:17:00 hewett 00086 ** dcmnet DICOM network libraries. Adapted from CEN network libraries 00087 ** for use with the DICOM C++ dcmdata toolkit. 00088 ** 00089 ** Revision 1.1 1996/03/12 15:08:05 hewett 00090 ** Main program argc, argv handling for environments which do not make 00091 ** argc,argv available in main(). 00092 ** 00093 ** 00094 */ 00095