Annotation of Examples/DatabaseKit/AddressBook/AddressBook_main.m, revision 1.1

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: #include <sys/param.h>
        !             7: #import <objc/NXBundle.h>
        !             8: #import <appkit/Application.h>
        !             9: 
        !            10: void main(int argc, char *argv[]) {
        !            11:     char       path[MAXPATHLEN+1];
        !            12:     NXApp = [Application new];
        !            13:     if ([[NXBundle mainBundle] getPath:path forResource:"AddressBook" ofType:"nib"]) {
        !            14:        [NXApp loadNibFile:path owner:NXApp withNames:NO fromZone:[NXApp zone]];
        !            15:     }
        !            16:     [NXApp run];
        !            17:     [NXApp free];
        !            18:     exit(0);
        !            19: }

unix.superglobalmegacorp.com

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