2021-10-22 13:30:18 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#define COMPOSITION
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
#include <strsafe.h>
|
|
|
|
|
#include <hIdUsage.h>
|
2025-09-26 13:03:00 +08:00
|
|
|
// Required for IUnknown and DECLARE_INTERFACE_* used by interop headers
|
|
|
|
|
#include <Unknwn.h>
|
2021-10-22 13:30:18 +01:00
|
|
|
|
|
|
|
|
#ifdef COMPOSITION
|
|
|
|
|
#include <DispatcherQueue.h>
|
|
|
|
|
#include <winrt/Windows.System.h>
|
|
|
|
|
#include <winrt/Windows.Foundation.h>
|
2025-09-26 13:03:00 +08:00
|
|
|
#include <winrt/Microsoft.UI.Composition.h>
|
|
|
|
|
#include <winrt/Microsoft.UI.h>
|
|
|
|
|
#include <winrt/Windows.UI.h>
|
2021-10-22 13:30:18 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <winrt/Windows.Foundation.Collections.h>
|
|
|
|
|
#include <common/SettingsAPI/settings_helpers.h>
|
|
|
|
|
#include <common/logger/logger.h>
|
2025-09-26 13:03:00 +08:00
|
|
|
|
|
|
|
|
#ifdef GetCurrentTime
|
|
|
|
|
#undef GetCurrentTime
|
|
|
|
|
#endif
|