You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
24 lines
506 B
C
24 lines
506 B
C
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Core.h"
|
|
|
|
#if WITH_CEF3
|
|
#if PLATFORM_WINDOWS
|
|
#include "AllowWindowsPlatformTypes.h"
|
|
#endif
|
|
#include "include/cef_app.h"
|
|
#if PLATFORM_WINDOWS
|
|
#include "HideWindowsPlatformTypes.h"
|
|
#endif
|
|
|
|
/**
|
|
* The application's main function.
|
|
*
|
|
* @param MainArgs Main Arguments for the process (created differently on each platform).
|
|
* @return Application's exit value.
|
|
*/
|
|
int32 RunCEFSubProcess(const CefMainArgs& MainArgs);
|
|
#endif
|