/* 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" #include namespace style { struct FlatLabel; } // namespace style namespace Ui { class VerticalLayout; class FlatLabel; template class SlideWrap; } // namespace Ui namespace Info { namespace Profile { struct TextWithLabel { object_ptr> wrap; not_null text; }; TextWithLabel CreateTextWithLabel( QWidget *parent, rpl::producer &&label, rpl::producer &&text, const style::FlatLabel &textSt, const style::margins &padding); } // namespace Profile } // namespace Info