Files
UnrealEngineUWP/Engine/Source/Programs/UnrealCEFSubProcess/Private/Linux/UnrealCEFSubProcessLinux.cpp
Matthew Griffin fef7e15bce Adding WebBrowser Developer project
Web Browser project mostly exposes interfaces, hiding all of the CEF3 implementation and technically allowing us to slot in another web system if necessary. Normal process will be to request a browser window interface from the web browser singleton. There is also an implementation of ISlateViewport so that it can be displayed via an SViewport.
The UnrealCEFSubProcess executable is needed for CEF3 to run additional processes for rendering etc. I don't expect this to change very often so it should hopefully just be built once and distributed, since we can't currently specify a program dependency for other modules.
Added a CEF3Utils project to share .dll loading code between web browser and the separate sub process executable.

[CL 2317298 by Matthew Griffin in Main branch]
2014-10-02 10:53:05 -04:00

21 lines
451 B
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "UnrealCEFSubProcess.h"
/**
* WinMain, called when the application is started
*/
int main( int argc, char** argv )
{
FPlatformMisc::SetGracefulTerminationHandler();
#if WITH_CEF3
// Structure for passing command-line arguments.
// The definition of this structure is platform-specific.
CefMainArgs MainArgs();
return RunCEFSubProcess(MainArgs);
#else
return 0;
#endif
}