Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

cmdlnarg.h

00001 /*
00002  *
00003  *  Copyright (C) 1994-2001, 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: 2001/06/01 15:48:31 $
00027  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/cmdlnarg.h,v $
00028  *  CVS/RCS Revision: $Revision: 1.6 $
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 "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.6  2001/06/01 15:48:31  meichel
00059 ** Updated copyright header
00060 **
00061 ** Revision 1.5  2000/04/14 16:01:22  meichel
00062 ** Minor changes for thread safety.
00063 **
00064 ** Revision 1.4  2000/03/08 16:26:10  meichel
00065 ** Updated copyright header.
00066 **
00067 ** Revision 1.3  1999/03/31 09:24:28  meichel
00068 ** Updated copyright header in module dcmdata
00069 **
00070 ** Revision 1.2  1996/09/27 08:22:21  hewett
00071 ** Added defines to protect from multiple inclusion.
00072 **
00073 ** Revision 1.1  1996/09/24 16:17:59  hewett
00074 ** Moved from dcmdata/apps and dcmnet/apps (now part of the dcmdata library).
00075 **
00076 ** Revision 1.2  1996/09/03 11:39:01  hewett
00077 ** Added copyright information.
00078 **
00079 ** Revision 1.1.1.1  1996/03/26 18:38:44  hewett
00080 ** Initial Release.
00081 **
00082 ** Revision 1.1.1.1  1996/03/25 15:17:00  hewett
00083 ** dcmnet DICOM network libraries.  Adapted from CEN network libraries
00084 ** for use with the DICOM C++ dcmdata toolkit.
00085 **
00086 ** Revision 1.1  1996/03/12 15:08:05  hewett
00087 ** Main program argc, argv handling for environments which do not make
00088 ** argc,argv available in main().
00089 **
00090 **
00091 */
00092 


Generated on 26 Apr 2005 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.4.2