home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
unix
/
unxfiles.sit
/
source
/
Mac
/
Un*xFiles.h
< prev
Wrap
Text File
|
1989-11-21
|
1KB
|
35 lines
/* I can't figure out how to make THINK C 4 include a resource file
* in a project, so there's this:
*/
/* #define DEBUG */
/* error codes */
#define OTHER -1 /* something strange happened */
#define NOERR 0 /* everything's hunky-dory */
#define NOOPIN 1 /* opening input file */
#define NOOPOUT 2 /* opening output file */
#define NOREAD 3 /* reading input */
#define NOWRITE 4 /* writing output */
#define NOCLIN 5 /* closing input */
#define NOCLOUT 6 /* closing output */
#define FORMAT 7 /* file is in an unreadable format */
#define UEOF 8 /* unexpected end-of-file */
#define DETRANS 9 /* decompression or translation error */
int uudecode ( char *source );
int uuencode ( char *source, char *target );
#ifdef DEBUG
void bitch ( char *message );
#endif
void CrashSaver ( void );
void InitMac ( void );
void main ( void );
void CenterRect ( Rect *r );
Point SFCenter ( int dlogID );
int myAlert ( int theID, FilterProc dialogFilter );
DialogPtr myGetNewDialog ( int dialogID, Ptr dStorage, WindowPtr behind );