mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
To remove warnings about deprecated headers and for more robust C++, this replaces the deprecated C header with its C++ equivalent.
29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
#pragma once
|
|
// Do not define WIN32_LEAN_AND_MEAN as WinUI doesn't work when it is defined
|
|
#include <unknwn.h>
|
|
#include <windows.h>
|
|
#include <cstdlib>
|
|
#include <cstring>
|
|
#include <thread>
|
|
#include <winrt/Windows.system.h>
|
|
#include <winrt/windows.ui.xaml.hosting.h>
|
|
#include <windows.ui.xaml.hosting.desktopwindowxamlsource.h>
|
|
#include <winrt/Windows.UI.Xaml.Automation.h>
|
|
#include <winrt/windows.ui.xaml.controls.h>
|
|
#include <winrt/Windows.ui.xaml.media.h>
|
|
#include <winrt/Windows.Foundation.Collections.h>
|
|
#include "winrt/Windows.Foundation.h"
|
|
#include "winrt/Windows.Foundation.Numerics.h"
|
|
#include "winrt/Windows.UI.Xaml.Controls.Primitives.h"
|
|
#include "winrt/Windows.UI.Text.h"
|
|
#include "winrt/Windows.UI.Core.h"
|
|
#include <winrt/Windows.UI.Xaml.Interop.h>
|
|
#include <mutex>
|
|
|
|
using namespace winrt;
|
|
using namespace Windows::UI;
|
|
using namespace Windows::UI::Composition;
|
|
using namespace Windows::UI::Xaml::Hosting;
|
|
using namespace Windows::Foundation::Numerics;
|
|
using namespace Windows::UI::Xaml;
|
|
using namespace Windows::UI::Xaml::Controls; |