22 lines
608 B
C++
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
|