blob: 055e6a63c87ef75ae8a1a94b28d24cec29beeebe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#import <UIKit/UIKit.h>
#import "app_delegate.h"
#include <stdio.h>
int gargc;
char** gargv;
int main(int argc, char *argv[])
{
printf("*********** main.m\n");
gargc = argc;
gargv = argv;
NSAutoreleasePool *pool = [NSAutoreleasePool new];
AppDelegate* app = [AppDelegate alloc];
printf("running app main\n");
UIApplicationMain(argc, argv, nil, @"AppDelegate");
printf("main done, pool release\n");
[pool release];
return 0;
}
|