tdesktop/Telegram/SourceFiles/ui/boxes/choose_time.h

26 lines
520 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
#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);
} // namespace Ui