2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "rendering/dx/DeviceResources.h"
12 #include "utils/CharsetConverter.h" // Required to initialize converters before usage
22 // Main entry point for our app. Connects the app with the Windows shell and handles application lifecycle events.
23 struct App
: winrt::implements
<App
, winrt::Windows::ApplicationModel::Core::IFrameworkViewSource
, winrt::Windows::ApplicationModel::Core::IFrameworkView
>
26 winrt::Windows::ApplicationModel::Core::IFrameworkView
CreateView()
30 // IFrameworkView implementation.
31 void Initialize(const winrt::Windows::ApplicationModel::Core::CoreApplicationView
&);
32 void SetWindow(const winrt::Windows::UI::Core::CoreWindow
&);
33 void Load(const winrt::hstring
& entryPoint
);
38 // Application lifecycle event handlers.
39 void OnActivated(const winrt::Windows::ApplicationModel::Core::CoreApplicationView
&, const winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs
&);
40 void OnSuspending(const winrt::Windows::Foundation::IInspectable
&, const winrt::Windows::ApplicationModel::SuspendingEventArgs
&);
41 void OnResuming(const winrt::Windows::Foundation::IInspectable
&, const winrt::Windows::Foundation::IInspectable
&);
44 std::vector
<char*> m_argv
;
46 } // namespace WINDOWS10
47 } // namespace PLATFORM