mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-25 03:37:11 +00:00
34 lines
721 B
C
34 lines
721 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
|
||
|
|
||
|
#include "base/object_ptr.h"
|
||
|
#include "ui/layers/generic_box.h"
|
||
|
|
||
|
class PeerData;
|
||
|
|
||
|
namespace Window {
|
||
|
class SessionController;
|
||
|
} // namespace Window
|
||
|
|
||
|
namespace Ui {
|
||
|
|
||
|
class SendAsButton;
|
||
|
|
||
|
void ChooseSendAsBox(
|
||
|
not_null<GenericBox*> box,
|
||
|
std::vector<not_null<PeerData*>> list,
|
||
|
not_null<PeerData*> chosen,
|
||
|
Fn<void(not_null<PeerData*>)> done);
|
||
|
|
||
|
void SetupSendAsButton(
|
||
|
not_null<SendAsButton*> button,
|
||
|
not_null<Window::SessionController*> window);
|
||
|
|
||
|
} // namespace Ui
|