ZaStoGram_desktop/Telegram/SourceFiles/tgw/tgw_intl.h
John Preston 773507d052 Answer widget Intl from Windows' own ICU where it loads
Task: 2026/10/21/answer-widget-intl-from-windows-icu-where-it-loads
2026-11-05 17:12:54 +04:00

22 lines
608 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
namespace twidget {
class IntlProvider;
class Json;
} // namespace twidget
namespace Tgw {
[[nodiscard]] QString UiLanguageTag();
[[nodiscard]] std::shared_ptr<twidget::IntlProvider> CreateIntl();
[[nodiscard]] std::shared_ptr<twidget::IntlProvider> CreateHostIntl();
[[nodiscard]] bool BasicCanConvert(const twidget::Json &value);
} // namespace Tgw