home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-11-29 | 777 b | 30 lines | [TEXT/MPS ] |
- // ©1992 Conrad Carlen & Manuel Veloso. All rights reserved.
- #ifndef _PAPTOOL_
- #define _PAPTOOL_
-
- #ifndef __EVENTS__
- #include <Events.h>
- #endif
-
- #ifndef __PAPFILE__
- #include "Papfile.h"
- #endif
-
- extern "C"
- {
- void initTool(void);
- void usage(void);
- OSErr extractName(short argc, char *argv[], short &files, EntityName &thePrinter);
- void cleanup(void);
- void initFile(ios &theStream, CPapFile &theFile);
- short main(short argc, char *argv[]);
- OSErr processFile(ifstream &input, CPapFile &theFile);
- Boolean installPatch(void);
- Boolean removePatch(void);
- void checkRead(void);
- OSErr DoIt(short argc, char *argv[], short numFiles, ifstream &input, ofstream &output);
- short getData(char *theBuffer, short bufferSize, ifstream &input);
- OSErr openPrinter(EntityName &thePrinter);
- }
- #endif
-