This is Gnuplot_main.m in view mode; [Download] [Up]
/*
* Copyright (C) 1993 Robert Davis
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of Version 2, or any later version, of
* the GNU General Public License as published by the Free Software
* Foundation.
*/
// $Id: Gnuplot_main.m,v 1.4 1993/05/04 16:22:08 davis Exp $
#import <appkit/Application.h>
#import <stdlib.h>
#import <strings.h>
extern gnu_main (int argc, char *argv[]);
void main(int argc, char *argv[]) {
if ((argc > 1) && !strcmp (argv[1], "-c")) {
gnu_main (argc - 1, &(argv[1]));
exit(0);
}
[Application new];
if ([NXApp loadNibSection:"Gnuplot.nib" owner:NXApp withNames:NO])
[NXApp run];
[NXApp free];
exit(0);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.