File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / Graph / Graph_main.m
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:25 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/* Generated by the NeXT Project Builder 
   NOTE: Do NOT change this file -- Project Builder maintains it.
*/

#import <stdlib.h>
#import <sys/param.h>
#import <objc/NXBundle.h>

#import <appkit/Application.h>

void main(int argc, char *argv[]) {
    char	path[MAXPATHLEN+1];
    
    NXApp = [Application new];
    if ([[NXBundle mainBundle] getPath:path forResource:"Graph" ofType:"nib"])
	if ([NXApp loadNibFile:path owner:NXApp withNames:NO fromZone:[NXApp zone]])
	    [NXApp run];
    [NXApp free];
    exit(0);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.