home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / PAPTool / PAPTool.h < prev    next >
Encoding:
Text File  |  1992-11-29  |  777 b   |  30 lines  |  [TEXT/MPS ]

  1. //    ©1992 Conrad Carlen & Manuel Veloso. All rights reserved.
  2. #ifndef _PAPTOOL_
  3. #define _PAPTOOL_
  4.  
  5. #ifndef __EVENTS__
  6. #include <Events.h>
  7. #endif
  8.  
  9. #ifndef __PAPFILE__
  10. #include "Papfile.h"
  11. #endif
  12.  
  13. extern "C"
  14. {
  15. void initTool(void);
  16. void usage(void);
  17. OSErr extractName(short argc, char *argv[], short &files, EntityName &thePrinter);
  18. void cleanup(void);
  19. void initFile(ios &theStream, CPapFile &theFile);
  20. short main(short argc, char *argv[]);
  21. OSErr processFile(ifstream &input, CPapFile &theFile);
  22. Boolean installPatch(void);
  23. Boolean removePatch(void);
  24. void checkRead(void);
  25. OSErr DoIt(short argc, char *argv[], short numFiles, ifstream &input, ofstream &output);
  26. short getData(char *theBuffer, short bufferSize, ifstream &input);
  27. OSErr openPrinter(EntityName &thePrinter);
  28. }
  29. #endif
  30.