/* 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/layers/generic_box.h" namespace Ui { class RoundButton; struct ChooseDateTimeBoxDescriptor { QPointer submit; Fn collect; rpl::producer values; }; ChooseDateTimeBoxDescriptor ChooseDateTimeBox( not_null box, rpl::producer title, rpl::producer submit, Fn done, TimeId time, rpl::producer description = nullptr); } // namespace Ui