ZaStoGram_desktop/Telegram/SourceFiles/menu/menu_ttl.h
John Preston 6485c727ba Remove disabled legacy auto-delete menu code
Task: 2026/10/27/remove-the-disabled-legacy-auto-delete-menu
2026-10-27 14:19:13 +04:00

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