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]
32 lines
605 B
C++
32 lines
605 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ModuleManager.h"
|
|
|
|
// Forward Declarations
|
|
class IWebBrowserSingleton;
|
|
|
|
/**
|
|
* WebBrowserModule interface
|
|
*/
|
|
class IWebBrowserModule : public IModuleInterface
|
|
{
|
|
public:
|
|
/**
|
|
* Get or load the Web Browser Module
|
|
*
|
|
* @return The loaded module
|
|
*/
|
|
static inline IWebBrowserModule& Get()
|
|
{
|
|
return FModuleManager::LoadModuleChecked< IWebBrowserModule >("WebBrowser");
|
|
}
|
|
|
|
/**
|
|
* Get the Web Browser Singleton
|
|
*
|
|
* @return The Web Browser Singleton
|
|
*/
|
|
virtual IWebBrowserSingleton* GetSingleton() = 0;
|
|
}; |