00001 /* 00002 * 00003 * Copyright (C) 1994-2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmdata 00019 * 00020 * Author: Andrew Hewett 00021 * 00022 * Purpose: Provide prototype of command line argument gathering routine 00023 * for OS environments which cannot pass arguments on the command line. 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:27:58 $ 00027 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/dcmtk/dcmdata/cmdlnarg.h,v $ 00028 * CVS/RCS Revision: $Revision: 1.7 $ 00029 * Status: $State: Exp $ 00030 * 00031 * CVS/RCS Log at end of file 00032 * 00033 */ 00034 00035 #ifndef CMDLNARG_H 00036 #define CMDLNARG_H 00037 00038 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00039 00040 /* 00041 ** prepareCmdLineArgs 00042 ** 00043 ** Should do nothing on Unix OS's. 00044 ** On other OS's (e.g. MacOS with CW6) allows command line arguments 00045 ** to be input from the standard input. 00046 ** 00047 ** MT level: Thread unsafe! 00048 */ 00049 void prepareCmdLineArgs(int& argc, char** argv, 00050 const char* progname = "aProgram"); 00051 00052 00053 #endif 00054 00055 /* 00056 ** CVS/RCS Log: 00057 ** $Log: cmdlnarg.h,v $ 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