home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / MacPerl 5.1.3 / Mac_Perl_513_src / perl5.002 / SubLaunch.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-25  |  1.0 KB  |  42 lines  |  [TEXT/MPS ]

  1. /*********************************************************************
  2. Project    :    SubLaunch        -    Call ToolServer
  3. File        :    SubLaunch.h        -    Interface
  4. Author    :    Matthias Neeracher
  5. Started    :    06Dec91                                Language    :    MPW C/C++
  6. Modified    :    06Dec91    MN    
  7.                 15Nov92    MN    FSp2FullPath
  8. Last        :    15Nov92
  9.  
  10. Copyright (c) 1991, 1992 Matthias Neeracher
  11.  
  12.     You may distribute under the terms of the Perl Artistic License,
  13.     as specified in the README file.
  14.  
  15. *********************************************************************/
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. #include <Types.h>
  22. #include <Files.h>
  23.  
  24. /* Create a temporary file in the temp folder. 
  25. */
  26. OSErr    FSpMakeTempFile(FSSpec * desc);
  27.  
  28. /* Execute the command. Any of the files may be set to NULL */
  29. OSErr SubLaunch(char * commandline, FSSpec * input, FSSpec * output, FSSpec * error, long * status);
  30.  
  31.  
  32. #if USESROUTINEDESCRIPTORS
  33. extern RoutineDescriptor    uSubLaunchIdle;
  34. #else
  35. pascal Boolean SubLaunchIdle(EventRecord * ev, long * sleep, RgnHandle * rgn);
  36. #define uSubLaunchIdle SubLaunchIdle
  37. #endif
  38.  
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42.