mirror of
https://github.com/vale981/tdesktop
synced 2025-03-09 12:36:39 -04:00
26 lines
565 B
C
26 lines
565 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
|
||
|
|
||
|
namespace qthelp {
|
||
|
class RegularExpressionMatch;
|
||
|
} // namespace qthelp
|
||
|
|
||
|
namespace Core {
|
||
|
|
||
|
struct LocalUrlHandler {
|
||
|
QString expression;
|
||
|
Fn<bool(
|
||
|
const qthelp::RegularExpressionMatch &match,
|
||
|
const QVariant &context)> handler;
|
||
|
};
|
||
|
|
||
|
const std::vector<LocalUrlHandler> &LocalUrlHandlers();
|
||
|
|
||
|
} // namespace Core
|