27 lines
594 B
C++
27 lines
594 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 Ui {
|
|
class Show;
|
|
class GenericBox;
|
|
} // namespace Ui
|
|
|
|
namespace TTLMenu {
|
|
|
|
struct Args {
|
|
std::shared_ptr<Ui::Show> show;
|
|
TimeId startTtl;
|
|
rpl::producer<TextWithEntities> about;
|
|
Fn<void(TimeId, Fn<void()>)> callback;
|
|
bool hideDisable = false;
|
|
};
|
|
|
|
void TTLBox(not_null<Ui::GenericBox*> box, Args args);
|
|
|
|
} // namespace TTLMenu
|