mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
19 lines
465 B
C
19 lines
465 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "FontIconGlyphClassifier.g.h"
|
||
|
|
|
||
|
|
namespace winrt::Microsoft::Terminal::UI::implementation
|
||
|
|
{
|
||
|
|
struct FontIconGlyphClassifier
|
||
|
|
{
|
||
|
|
[[nodiscard]] static bool IsLikelyToBeEmojiOrSymbolIcon(const winrt::hstring& text);
|
||
|
|
|
||
|
|
[[nodiscard]] static FontIconGlyphKind Classify(winrt::hstring const& text) noexcept;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
namespace winrt::Microsoft::Terminal::UI::factory_implementation
|
||
|
|
{
|
||
|
|
BASIC_FACTORY(FontIconGlyphClassifier);
|
||
|
|
}
|