You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
33 lines
838 B
C++
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
|