/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/common/interop/LayoutMapManaged.h
24 строки
639 B
Josh Soref
Updates for check-spelling v0.0.25 (#40386)
09 июл 2025, 01:16
Не верифицирован
09 июл 2025, 01:16
bf16e10
Код
Авторство
О чём код?
#pragma once #include "LayoutMapManaged.g.h" #include "keyboard_layout.h" namespace winrt::PowerToys::Interop::implementation { struct LayoutMapManaged : LayoutMapManagedT<LayoutMapManaged> { LayoutMapManaged() = default; hstring GetKeyName(uint32_t key); uint32_t GetKeyValue(hstring const& name); void UpdateLayout(); private: std::unique_ptr<LayoutMap> _map = std::make_unique<LayoutMap>(); }; } namespace winrt::PowerToys::Interop::factory_implementation { struct LayoutMapManaged : LayoutMapManagedT<LayoutMapManaged, implementation::LayoutMapManaged> { }; }