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.
11 // The times in comments are how much time was spent parsing
12 // the header file according to C++ Build Insights in VS2019
14 #include <algorithm> // 32 seconds
15 #include <chrono> // 72 seconds
19 #include <mutex> // 19 seconds
23 // workaround for broken [[deprecated]] in coverity
24 #if defined(__COVERITY__)
26 #define FMT_DEPRECATED
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))
35 #include <wrl/client.h>
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>
56 // anything below here should be headers that very rarely (hopefully never)
57 // change yet are included almost everywhere.
60 #include "FileItem.h" //63 seconds
61 #include "addons/addoninfo/AddonInfo.h" // 62 seconds