| 1234567891011121314151617181920212223242526 |
- /*
- 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 "base/object_ptr.h"
- namespace Ui {
- class RpWidget;
- struct ChooseTimeResult {
- object_ptr<RpWidget> widget;
- rpl::producer<TimeId> secondsValue;
- };
- ChooseTimeResult ChooseTimeWidget(
- not_null<RpWidget*> parent,
- TimeId startSeconds,
- bool hiddenDaysInput = false);
- } // namespace Ui
|