You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
26 lines
537 B
C++
26 lines
537 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "SlateViewerApp.h"
|
|
|
|
static FString GSavedCommandLine;
|
|
|
|
/**
|
|
* WinMain, called when the application is started
|
|
*/
|
|
int main( int argc, char** argv )
|
|
{
|
|
FPlatformMisc::SetGracefulTerminationHandler();
|
|
|
|
for (int32 Option = 1; Option < argc; Option++)
|
|
{
|
|
GSavedCommandLine += TEXT(" ");
|
|
GSavedCommandLine += UTF8_TO_TCHAR(argv[Option]); // note: technically it depends on locale
|
|
}
|
|
|
|
// do the slate viewer thing
|
|
RunSlateViewer(*GSavedCommandLine);
|
|
|
|
return 0;
|
|
}
|