/* 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; }; struct ChooseDateTimeBoxArgs { rpl::producer title; rpl::producer submit; Fn done; Fn min; TimeId time = 0; Fn max; rpl::producer description; }; ChooseDateTimeBoxDescriptor ChooseDateTimeBox( not_null box, ChooseDateTimeBoxArgs &&args); } // namespace Ui