Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (28 sloc) 0.886 kb
//
// main.m
// iPhone/MacStreamingPlayer
//
// Created by Matt Gallagher on 28/10/08.
// Copyright Matt Gallagher 2008. All rights reserved.
//
// Permission is given to use this source code file, free of charge, in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that any redistribution (in part or whole) of source code must retain
// this copyright and permission notice. Attribution in compiled projects is
// appreciated but not required.
//
#ifdef TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#else
#import <Cocoa/Cocoa.h>
#endif
int main(int argc, const char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
#ifdef TARGET_OS_IPHONE
int retVal = UIApplicationMain(argc, (char **)argv, nil, nil);
#else
int retVal = NSApplicationMain(argc, argv);
#endif
[pool release];
return retVal;
}
Jump to Line
Something went wrong with that request. Please try again.