2022-10-11 11:57:19 +00:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
|
|
|
template <typename Object>
|
|
|
|
class object_ptr;
|
|
|
|
|
|
|
|
namespace style {
|
|
|
|
struct FlatLabel;
|
2022-11-30 14:08:49 +00:00
|
|
|
struct PeerListItem;
|
2022-10-11 11:57:19 +00:00
|
|
|
} // namespace style
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
|
|
|
class RpWidget;
|
|
|
|
|
|
|
|
object_ptr<Ui::RpWidget> CreateLoadingTextWidget(
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
const style::FlatLabel &st,
|
|
|
|
int lines,
|
|
|
|
rpl::producer<bool> rtl);
|
|
|
|
|
2022-11-30 14:08:49 +00:00
|
|
|
object_ptr<Ui::RpWidget> CreateLoadingPeerListItemWidget(
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
|
|
|
const style::PeerListItem &st,
|
|
|
|
int lines);
|
|
|
|
|
2022-10-11 11:57:19 +00:00
|
|
|
} // namespace Ui
|