mirror-chatterino2/src/providers/LinkResolver.hpp
2019-08-20 23:46:27 +02:00

18 lines
308 B
C++

#pragma once
#include <QString>
#include <functional>
#include "messages/Link.hpp"
namespace chatterino {
class LinkResolver
{
public:
static void getLinkInfo(const QString url, QObject *caller,
std::function<void(QString, Link)> callback);
};
} // namespace chatterino