Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowser/Public/WebBrowserModule.h
Matthew Griffin 102bea4250 Moving WebBrowser and CEF3Utils to Runtime so that they can be used in games.
Also removed guards around browser code in SWebBrowser and made sure that path for sub process exe is correct if game exe is not in the same folder.

[CL 2389777 by Matthew Griffin in Main branch]
2014-12-16 06:41:01 -05:00

32 lines
605 B
C++

// Copyright 1998-2015 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;
};