ZaStoGram_desktop/Telegram/SourceFiles/ui/boxes/peer_qr_box.h
John Preston f292d8d5d5 Redesign the QR code box as an animated share card.
Task: 2026/10/15/redesign-the-qr-code-box-as-an-animated-share-card
2026-10-20 17:07:53 +04:00

28 lines
606 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 GenericBox;
class Show;
void DefaultShowFillPeerQrBoxCallback(
std::shared_ptr<Ui::Show> show,
PeerData *peer);
void FillPeerQrBox(
not_null<Ui::GenericBox*> box,
PeerData *peer,
std::optional<QString> customLink,
rpl::producer<QString> about,
rpl::producer<QString> title = nullptr);
} // namespace Ui