nCine::UwpApplication class

Main entry point and handler for UWP (Universal Windows Platform) applications.

Base classes

class Application
Base class for main entry points of nCine applications.

Public static functions

static auto Run(std::unique_ptr<IAppEventHandler>(*)() createAppEventHandler) -> int
Entry point method to be called in the.

Constructors, destructors, conversion operators

UwpApplication()
~UwpApplication() defaulted

Public functions

auto CreateView() -> winrtWAC::IFrameworkView
void Initialize(const winrtWAC::CoreApplicationView& applicationView)
void SetWindow(const winrtWUC::CoreWindow& window)
void Load(const winrt::hstring& entryPoint)
void Run()
void Uninitialize()
auto OpenUrl(StringView url) -> bool override
Opens the specified URL in a default web browser.

Friends

auto theApplication() -> Application&
Returns application instance.

Function documentation

static int nCine::UwpApplication::Run(std::unique_ptr<IAppEventHandler>(*)() createAppEventHandler)

Entry point method to be called in the.

main() function