|
|
1.1 ! root 1: /* Generated by the NeXT Project Builder ! 2: NOTE: Do NOT change this file -- Project Builder maintains it. ! 3: */ ! 4: ! 5: #import <stdlib.h> ! 6: #import <sys/param.h> ! 7: #import <objc/NXBundle.h> ! 8: ! 9: #import <appkit/Application.h> ! 10: ! 11: void main(int argc, char *argv[]) { ! 12: char path[MAXPATHLEN+1]; ! 13: ! 14: NXApp = [Application new]; ! 15: if ([[NXBundle mainBundle] getPath:path forResource:"SimpleCalc" ofType:"nib"]) ! 16: if ([NXApp loadNibFile:path owner:NXApp withNames:NO fromZone:[NXApp zone]]) ! 17: [NXApp run]; ! 18: [NXApp free]; ! 19: exit(0); ! 20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.