tdesktop/Telegram/SourceFiles/ui/item_text_options.h

28 lines
739 B
C
Raw Normal View History

/*
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
2020-10-10 09:15:37 +00:00
#include "ui/text/text_options.h"
class History;
class PeerData;
2020-10-10 09:15:37 +00:00
class HistoryItem;
2019-09-16 11:14:06 +00:00
namespace Ui {
const TextParseOptions &ItemTextOptions(
not_null<History*> history,
not_null<PeerData*> author);
const TextParseOptions &ItemTextNoMonoOptions(
not_null<History*> history,
not_null<PeerData*> author);
const TextParseOptions &ItemTextOptions(not_null<const HistoryItem*> item);
const TextParseOptions &ItemTextNoMonoOptions(not_null<const HistoryItem*> item);
} // namespace Ui