home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / DatabaseKit / Binder / BinderExample_main.m next >
Text File  |  1992-07-09  |  529b  |  21 lines

  1. /* Generated by the NeXT Project Builder 
  2.    NOTE: Do NOT change this file -- Project Builder maintains it.
  3. */
  4.  
  5. #import <std@ih>
  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:"BinderExample" ofType:"nib"])
  16.     if ([NXApp loadNibFile:path owner:NXApp withNames:NO fromZone:[NXApp zone]])
  17.         [NXApp run];
  18.     [NXApp free];
  19.     exit(0);
  20. }
  21.