nCine::UwpApplication class

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

Subclasses Application and implements the C++/WinRT winrtWAC::IFrameworkViewSource and winrtWAC::IFrameworkView interfaces, driving the application life cycle through the CoreApplication framework.

Base classes

class Application
Base class for the main entry point of an nCine application.

Public static functions

static auto Run(CreateAppEventHandlerDelegate createAppEventHandler) -> int
Entry point method to be called in the wWinMain() function.

Constructors, destructors, conversion operators

UwpApplication()
~UwpApplication() defaulted

Public functions

auto OpenUrl(StringView url) -> bool override
Opens the specified URL in a default web browser.

Friends

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

Function documentation

Application& theApplication()

Returns the application instance.

Returns the singleton application instance.