Files
UnrealEngineUWP/Engine/Source/Programs/UnrealCEFSubProcess/Private/UnrealCEFSubProcess.cpp
Ryan Durand 74c879d5f3 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 10870960 by Ryan Durand in Main branch]
2019-12-26 23:06:02 -05:00

32 lines
831 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
//
// UnrealCEFSubProcess.cpp : Defines the entry point for the browser sub process
//
#include "UnrealCEFSubProcess.h"
#include "RequiredProgramMainCPPInclude.h"
#include "CEF3Utils.h"
#include "UnrealCEFSubProcessApp.h"
//#define DEBUG_USING_CONSOLE 0
IMPLEMENT_APPLICATION(UnrealCEFSubProcess, "UnrealCEFSubProcess")
#if WITH_CEF3
int32 RunCEFSubProcess(const CefMainArgs& MainArgs)
{
CEF3Utils::LoadCEF3Modules();
// Create an App object for handling various render process events, such as message passing
CefRefPtr<CefApp> App(new FUnrealCEFSubProcessApp);
// Execute the sub-process logic. This will block until the sub-process should exit.
int32 Result = CefExecuteProcess(MainArgs, App, nullptr);
CEF3Utils::UnloadCEF3Modules();
return Result;
}
#endif