Files
UnrealEngineUWP/Engine/Source/Programs/SlateViewer/Private/Linux/SlateViewerMainLinux.cpp
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

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;
}