#pragma once #include "LayoutMapManaged.g.h" #include "keyboard_layout.h" namespace winrt::PowerToys::Interop::implementation { struct LayoutMapManaged : LayoutMapManagedT { LayoutMapManaged() = default; hstring GetKeyName(uint32_t key); uint32_t GetKeyValue(hstring const& name); void UpdateLayout(); private: std::unique_ptr _map = std::make_unique(); }; } namespace winrt::PowerToys::Interop::factory_implementation { struct LayoutMapManaged : LayoutMapManagedT { }; }