23 lines
492 B
C++
23 lines
492 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
|
|
|
|
#include "ui/text/text_entity.h"
|
|
|
|
namespace Ui {
|
|
|
|
struct MultilineToastArgs {
|
|
QWidget *parentOverride = nullptr;
|
|
TextWithEntities text;
|
|
crl::time duration = 0;
|
|
};
|
|
|
|
void ShowMultilineToast(MultilineToastArgs &&args);
|
|
|
|
} // namespace Ui
|