2017-12-28 13:06:06 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-12-28 13:06:06 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-12-28 13:06:06 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2019-09-16 11:14:06 +00:00
|
|
|
struct TextParseOptions;
|
|
|
|
|
2017-12-28 13:06:06 +00:00
|
|
|
namespace Ui {
|
|
|
|
|
|
|
|
void InitTextOptions();
|
|
|
|
|
|
|
|
const TextParseOptions &ItemTextDefaultOptions();
|
|
|
|
const TextParseOptions &ItemTextBotDefaultOptions();
|
|
|
|
const TextParseOptions &ItemTextNoMonoOptions();
|
|
|
|
const TextParseOptions &ItemTextBotNoMonoOptions();
|
|
|
|
const TextParseOptions &ItemTextServiceOptions();
|
|
|
|
|
|
|
|
const TextParseOptions &WebpageTextTitleOptions();
|
2020-06-16 15:10:39 +00:00
|
|
|
const TextParseOptions &WebpageTextDescriptionOptions();
|
2017-12-28 13:06:06 +00:00
|
|
|
|
|
|
|
const TextParseOptions &NameTextOptions();
|
|
|
|
const TextParseOptions &DialogTextOptions();
|
|
|
|
|
|
|
|
} // namespace Ui
|