Files
AyuGramDesktop/Telegram/SourceFiles/boxes/url_auth_box.h
T

36 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
class HistoryItem;
struct HistoryMessageMarkupButton;
namespace Main {
class Session;
} // namespace Main
namespace Ui {
class GenericBox;
class Show;
} // namespace Ui
namespace UrlAuthBox {
void ActivateButton(
std::shared_ptr<Ui::Show> show,
not_null<const HistoryItem*> message,
int row,
int column);
void ActivateUrl(
std::shared_ptr<Ui::Show> show,
not_null<Main::Session*> session,
const QString &url,
QVariant context);
} // namespace UrlAuthBox