Changeset 8090 for code/branches/mac_osx/src/OrxonoxMac.mm
- Timestamp:
- Mar 18, 2011, 10:00:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/src/OrxonoxMac.mm
r8083 r8090 9 9 #import "OrxonoxMac.h" 10 10 11 //#import <Foundation/Foundation.h>12 13 11 static int argc_s = 0; 14 12 static char** argv_s = 0; … … 16 14 int main(int argc, char** argv) 17 15 { 18 //NSLog(@"main");19 16 argc_s = argc; 20 17 argv_s = argv; 21 18 22 //NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];23 //[[NSApplication sharedApplication] setDelegate:[[[OrxonoxAppDelegate alloc] init] autorelease]];24 19 int retVal = NSApplicationMain(argc, (const char**)argv); 25 //[pool drain];26 20 27 21 return retVal; … … 32 26 - (void)applicationDidFinishLaunching:(NSNotification *)notification 33 27 { 34 NSLog(@"applicationDidFinishLaunching");35 28 exit(main_mac(argc_s, argv_s)); 36 29 }
Note: See TracChangeset
for help on using the changeset viewer.