2018-06-02 14:29:21 +00:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
*/
|
2020-09-30 07:51:17 +00:00
|
|
|
#pragma once
|
2018-06-02 14:29:21 +00:00
|
|
|
|
2020-09-30 07:51:17 +00:00
|
|
|
#include "ui/text/text_entity.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
|
|
|
struct MultilineToastArgs {
|
2021-03-17 18:13:23 +00:00
|
|
|
QWidget *parentOverride = nullptr;
|
2020-09-30 07:51:17 +00:00
|
|
|
TextWithEntities text;
|
2021-02-11 14:46:46 +00:00
|
|
|
crl::time duration = 0;
|
2020-09-30 07:51:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void ShowMultilineToast(MultilineToastArgs &&args);
|
|
|
|
|
|
|
|
} // namespace Ui
|