mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-24 03:07:20 +00:00
31 lines
632 B
C
31 lines
632 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
|
||
|
|
||
|
template <typename Object>
|
||
|
class object_ptr;
|
||
|
|
||
|
namespace Main {
|
||
|
class Session;
|
||
|
} // namespace Main
|
||
|
|
||
|
namespace Ui {
|
||
|
class RpWidget;
|
||
|
template <typename Widget>
|
||
|
class SlideWrap;
|
||
|
} // namespace Ui
|
||
|
|
||
|
namespace Dialogs {
|
||
|
|
||
|
[[nodiscard]] object_ptr<Ui::SlideWrap<Ui::RpWidget>> CreateTopBarSuggestion(
|
||
|
not_null<Ui::RpWidget*> parent,
|
||
|
not_null<Main::Session*>);
|
||
|
|
||
|
} // namespace Dialogs
|
||
|
|