iPhone/main.m
changeset 25 a4875607a3a0
child 26 cb9cdf247239
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/iPhone/main.m	Tue Dec 02 22:42:56 2008 -0800
     1.3 @@ -0,0 +1,56 @@
     1.4 +/*
     1.5 +
     1.6 +File: main.m
     1.7 +Abstract: Standard main file.
     1.8 +
     1.9 +Version: 1.7
    1.10 +
    1.11 +Disclaimer: IMPORTANT:  This Apple software is supplied to you by Apple Inc.
    1.12 +("Apple") in consideration of your agreement to the following terms, and your
    1.13 +use, installation, modification or redistribution of this Apple software
    1.14 +constitutes acceptance of these terms.  If you do not agree with these terms,
    1.15 +please do not use, install, modify or redistribute this Apple software.
    1.16 +
    1.17 +In consideration of your agreement to abide by the following terms, and subject
    1.18 +to these terms, Apple grants you a personal, non-exclusive license, under
    1.19 +Apple's copyrights in this original Apple software (the "Apple Software"), to
    1.20 +use, reproduce, modify and redistribute the Apple Software, with or without
    1.21 +modifications, in source and/or binary forms; provided that if you redistribute
    1.22 +the Apple Software in its entirety and without modifications, you must retain
    1.23 +this notice and the following text and disclaimers in all such redistributions
    1.24 +of the Apple Software.
    1.25 +Neither the name, trademarks, service marks or logos of Apple Inc. may be used
    1.26 +to endorse or promote products derived from the Apple Software without specific
    1.27 +prior written permission from Apple.  Except as expressly stated in this notice,
    1.28 +no other rights or licenses, express or implied, are granted by Apple herein,
    1.29 +including but not limited to any patent rights that may be infringed by your
    1.30 +derivative works or by other works in which the Apple Software may be
    1.31 +incorporated.
    1.32 +
    1.33 +The Apple Software is provided by Apple on an "AS IS" basis.  APPLE MAKES NO
    1.34 +WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
    1.35 +WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    1.36 +PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
    1.37 +COMBINATION WITH YOUR PRODUCTS.
    1.38 +
    1.39 +IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
    1.40 +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
    1.41 +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    1.42 +ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR
    1.43 +DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF
    1.44 +CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
    1.45 +APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    1.46 +
    1.47 +Copyright (C) 2008 Apple Inc. All Rights Reserved.
    1.48 +
    1.49 +*/
    1.50 +
    1.51 +#import <UIKit/UIKit.h>
    1.52 +
    1.53 +int main(int argc, char *argv[])
    1.54 +{
    1.55 +    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    1.56 +    int retVal = UIApplicationMain(argc, argv, nil, nil);
    1.57 +    [pool release];
    1.58 +    return retVal;
    1.59 +}