Files
UnrealEngineUWP/Engine/Source/Programs/IOS/UDKRemote/main.mm
Ryan Durand 9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00

42 lines
958 B
Plaintext

// Copyright Epic Games, Inc. All Rights Reserved.
//
// main.m
// UDKRemote
//
// Created by jadams on 7/28/10.
//
#import <UIKit/UIKit.h>
//#include "IPhoneObjCWrapper.h"
time_t GAppInvokeTime;
int GEngineVersion = 1;
uint64_t GStartupFreeMem;
uint64_t GStartupUsedMem;
int main(int argc, char *argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// // Save off the memory amounts at startup
// IPhoneGetPhysicalMemoryInfo(GStartupFreeMem, GStartupUsedMem);
//
// // Update the app statistics
// GAppInvokeTime = time(NULL);
// if (IPhoneLoadUserSettingU64("IPhoneHome::LastRunCrashed") != 0)
// {
// IPhoneIncrementUserSettingU64("IPhoneHome::NumCrashes");
// }
// else
// {
// IPhoneSaveUserSettingU64("IPhoneHome::LastRunCrashed", 1);
// }
// IPhoneIncrementUserSettingU64("IPhoneHome::NumInvocations");
// Start the GUI
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}