[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / platform / win10 / Win10App.h
bloba6a723b1e9a02ea171a2b0e35d0c190834b90226
1 /*
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.
7 */
9 #pragma once
11 #include "rendering/dx/DeviceResources.h"
12 #include "utils/CharsetConverter.h" // Required to initialize converters before usage
14 struct XBMC_keysym;
16 namespace KODI
18 namespace PLATFORM
20 namespace WINDOWS10
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>
25 App();
26 winrt::Windows::ApplicationModel::Core::IFrameworkView CreateView()
28 return *this;
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);
34 void Run();
35 void Uninitialize();
37 protected:
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&);
43 private:
44 std::vector<char*> m_argv;
46 } // namespace WINDOWS10
47 } // namespace PLATFORM
48 } // namespace KODI