kodi
Public Member Functions | Protected Member Functions | List of all members
KODI::PLATFORM::WINDOWS10::App Struct Reference
Inheritance diagram for KODI::PLATFORM::WINDOWS10::App:
Inheritance graph
[legend]
Collaboration diagram for KODI::PLATFORM::WINDOWS10::App:
Collaboration graph
[legend]

Public Member Functions

 App ()
 Initializes the singleton application object. More...
 
winrt::Windows::ApplicationModel::Core::IFrameworkView CreateView ()
 
void Initialize (const winrt::Windows::ApplicationModel::Core::CoreApplicationView &)
 
void SetWindow (const winrt::Windows::UI::Core::CoreWindow &)
 
void Load (const winrt::hstring &entryPoint)
 
void Run ()
 
void Uninitialize ()
 

Protected Member Functions

void OnActivated (const winrt::Windows::ApplicationModel::Core::CoreApplicationView &, const winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs &)
 
void OnSuspending (const winrt::Windows::Foundation::IInspectable &, const winrt::Windows::ApplicationModel::SuspendingEventArgs &)
 Invoked when application execution is being suspended. More...
 
void OnResuming (const winrt::Windows::Foundation::IInspectable &, const winrt::Windows::Foundation::IInspectable &)
 

Constructor & Destructor Documentation

◆ App()

App::App ( )
default

Initializes the singleton application object.

This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

Member Function Documentation

◆ OnSuspending()

void App::OnSuspending ( const winrt::Windows::Foundation::IInspectable &  ,
const winrt::Windows::ApplicationModel::SuspendingEventArgs &   
)
protected

Invoked when application execution is being suspended.

Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

Parameters
senderThe source of the suspend request.
eDetails about the suspend request.

The documentation for this struct was generated from the following files: