mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
[Keyboard Manager] Cleanup header file references to improve incremental build time (#4880)
* Remove WinUI include in KeyboardManagerState.h * Changed include steps * Clean up headers in KeyboardManagerUI except XamlBridge.h * Cleaned up headers in KeyboardManager common and test * Cleaned up headers in KeyboardManager project * Removed headers from XamlBridge * Removed some headers from kbm common pch * Added MP flag to reduce build time * Added missing include
This commit is contained in:
@@ -3,9 +3,19 @@
|
||||
#include <functional>
|
||||
#include <keyboardmanager/common/Helpers.h>
|
||||
#include <set>
|
||||
#include <winrt/Windows.UI.Xaml.h>
|
||||
|
||||
using namespace winrt::Windows::Foundation;
|
||||
namespace winrt::Windows::UI::Xaml
|
||||
{
|
||||
namespace Foundation
|
||||
{
|
||||
template<typename T>
|
||||
struct IAsyncOperation;
|
||||
}
|
||||
namespace UI::Xaml
|
||||
{
|
||||
struct XamlRoot;
|
||||
}
|
||||
}
|
||||
|
||||
namespace Dialog
|
||||
{
|
||||
@@ -37,5 +47,5 @@ namespace Dialog
|
||||
return isSuccess;
|
||||
}
|
||||
|
||||
IAsyncOperation<bool> PartialRemappingConfirmationDialog(winrt::Windows::UI::Xaml::XamlRoot root, std::wstring dialogTitle);
|
||||
winrt::Windows::Foundation::IAsyncOperation<bool> PartialRemappingConfirmationDialog(winrt::Windows::UI::Xaml::XamlRoot root, std::wstring dialogTitle);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user