This is null-mac.c in view mode; [Download] [Up]
/*
* null-mac.c -- Macintosh rtf2null driver (for THINK C).
*/
# include <stdio.h>
# include "rtf-mac.h"
# include "rtf2null.h"
/*
* Stuff to tell wrapper how to initialize/shutdown the writer, how to
* begin/end processing for each output file, how to allow for
* application-specific menu handling stuff, and default file extension
*/
static AppInfo myAppInfo =
{
nil, /* no menu init */
nil, /* no menu adjust */
nil, /* no writer initialization needed */
nil, /* no writer final cleanup needed */
BeginFile,
nil,
nil, /* no preferences function */
/*
* File suffixes are empty because no output files are created.
* All output goes to the log window.
*/
"\p", /* no input file suffix */
"\p", /* no output file suffix */
"\p", /* no error file suffix */
0L, /* output file creator */
0L, /* error file creator */
/* flags - status window is persistent, no output or error files created */
persistentStatus
};
int
main (void)
{
MacintoshWrapper (&myAppInfo);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.