home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / src / MacSource / ArgvTrix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-14  |  1.9 KB  |  59 lines  |  [TEXT/CWIE]

  1. /*==============================================================================
  2. Project:    POV-Ray
  3.  
  4. Version:    3
  5.  
  6. File:    ArgvTrix.h
  7.  
  8. Description:
  9.     Faked Argv/argc handling routines.  This file maintains a simple simulation
  10.     of the Standard C argc/argv program command line parameters, letting an
  11.     "outer" Mac application build an argument list and pass it to "main()".
  12. ------------------------------------------------------------------------------
  13. Author:
  14.     Eduard [esp] Schwan
  15. ------------------------------------------------------------------------------
  16.     from Persistence of Vision(tm) Ray Tracer
  17.     Copyright 1996 Persistence of Vision Team
  18. ------------------------------------------------------------------------------
  19.     NOTICE: This source code file is provided so that users may experiment
  20.     with enhancements to POV-Ray and to port the software to platforms other 
  21.     than those supported by the POV-Ray Team.  There are strict rules under
  22.     which you are permitted to use this file.  The rules are in the file
  23.     named POVLEGAL.DOC which should be distributed with this file. If 
  24.     POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  25.     Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  26.     Forum.  The latest version of POV-Ray may be found there as well.
  27.  
  28.     This program is based on the popular DKB raytracer version 2.12.
  29.     DKBTrace was originally written by David K. Buck.
  30.     DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  31. ------------------------------------------------------------------------------
  32. Change History:
  33.     941221    [esp]    Created
  34. ==============================================================================*/
  35.  
  36. #ifndef ARGVTRIX_H
  37. #define ARGVTRIX_H
  38.  
  39.  
  40. /*==== Macintosh-specific headers ====*/
  41.  
  42.  
  43. /*==== globals =====*/
  44.  
  45. extern int        my_argc;
  46. extern char        **my_argv;
  47.  
  48.  
  49. /*==== Prototypes =====*/
  50.  
  51. void InitArgv(void);
  52.  
  53. void DestroyArgv(void);
  54.  
  55. void AddArg(char *s);
  56.  
  57.  
  58. #endif //  ARGVTRIX_H
  59.