mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
36 lines
721 B
C++
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
|