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

23 lines
521 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 GenericBox;
[[nodiscard]] std::vector<TimeId> DefaultTimePickerValues();
[[nodiscard]] Fn<TimeId()> TimePickerBox(
not_null<GenericBox*> box,
std::vector<TimeId> values,
std::vector<QString> phrases,
TimeId startValue);
} // namespace Ui