Files
UnrealEngineUWP/Engine/Source/Programs/EpicWebHelper/Private/EpicWebHelper.cpp
alfred reynolds 00ff2ce5ad - Update copyright header in CEF files to match the requirements in the UE5 branch
#jira UE-110192
#jira UE-110195
#jira UE-110196
[FYI] wes.fudala
[FYI] JeanFrancois.Dube
#horde 47017
#horde 47016

#ROBOMERGE-SOURCE: CL 15657948 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15657981 by alfred reynolds in ue5-main branch]
2021-03-09 15:32:23 -04:00

33 lines
838 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
//
// EpicWebHelper.cpp : Defines the entry point for the browser sub process
//
#include "EpicWebHelper.h"
#include "RequiredProgramMainCPPInclude.h"
#include "CEF3Utils.h"
#include "EpicWebHelperApp.h"
//#define DEBUG_USING_CONSOLE 0
IMPLEMENT_APPLICATION(EpicWebHelper, "EpicWebHelper")
#if WITH_CEF3
int32 RunCEFSubProcess(const CefMainArgs& MainArgs)
{
bool bLoadedCEF = CEF3Utils::LoadCEF3Modules(false);
check(bLoadedCEF);
// Create an App object for handling various render process events, such as message passing
CefRefPtr<CefApp> App(new FEpicWebHelperApp);
// 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