[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / platform / win32 / pch.h
blob2c39ec4e4b3462ec4cedecbf816a5191215d8db7
1 /*
2 * Copyright (C) 2009-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 // The times in comments are how much time was spent parsing
12 // the header file according to C++ Build Insights in VS2019
13 #define _CRT_RAND_S
14 #include <algorithm> // 32 seconds
15 #include <chrono> // 72 seconds
16 #include <fstream>
17 #include <iostream>
18 #include <map>
19 #include <mutex> // 19 seconds
20 #include <string>
21 #include <vector>
23 // workaround for broken [[deprecated]] in coverity
24 #if defined(__COVERITY__)
25 #undef FMT_DEPRECATED
26 #define FMT_DEPRECATED
27 #endif
28 #include <fmt/core.h>
29 #include <fmt/format.h> // 53 seconds
30 #include <intrin.h> // 97 seconds
31 #include <ppltasks.h> // 87seconds, not included by us
32 #if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H))
33 #include <winsock2.h>
34 #endif
35 #include <wrl/client.h>
36 #include <windows.h>
37 #include <TCHAR.H>
38 #include <locale>
39 #include <comdef.h>
40 #include <memory>
42 #ifdef TARGET_WINDOWS_STORE
43 #include <winrt/Windows.ApplicationModel.h>
44 #include <winrt/Windows.ApplicationModel.Core.h>
45 #include <winrt/Windows.ApplicationModel.Activation.h>
46 #include <winrt/Windows.Foundation.h>
47 #include <winrt/Windows.Foundation.Collections.h>
48 #include <winrt/Windows.Graphics.Display.h>
49 #include <winrt/Windows.Storage.h>
50 #include <winrt/Windows.System.h>
51 #include <winrt/Windows.System.Threading.h>
52 #include <winrt/Windows.UI.Core.h>
53 #include <winrt/Windows.UI.Input.h>
54 #include <winrt/Windows.UI.ViewManagement.h>
55 #endif
56 // anything below here should be headers that very rarely (hopefully never)
57 // change yet are included almost everywhere.
58 /* empty */
60 #include "FileItem.h" //63 seconds
61 #include "addons/addoninfo/AddonInfo.h" // 62 seconds