mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-23 02:37:11 +00:00
29 lines
573 B
C
29 lines
573 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
|
||
|
|
||
|
class PeerData;
|
||
|
|
||
|
namespace Ui {
|
||
|
class PopupMenu;
|
||
|
class RpWidget;
|
||
|
} // namespace Ui
|
||
|
|
||
|
namespace MuteMenu {
|
||
|
|
||
|
void FillMuteMenu(
|
||
|
not_null<Ui::PopupMenu*> menu,
|
||
|
not_null<PeerData*> peer);
|
||
|
|
||
|
void SetupMuteMenu(
|
||
|
not_null<Ui::RpWidget*> parent,
|
||
|
rpl::producer<> triggers,
|
||
|
not_null<PeerData*> peer);
|
||
|
|
||
|
} // namespace MuteMenu
|