Files
UnrealEngineUWP/Engine/Source/Programs/IOS/UDKRemote/main.mm
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -05:00

42 lines
968 B
Plaintext

// Copyright 1998-2019 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;
}