|
|
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>
#include <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:"AddressBook" ofType:"nib"]) {
[NXApp loadNibFile:path owner:NXApp withNames:NO fromZone:[NXApp zone]];
}
[NXApp run];
[NXApp free];
exit(0);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.