mirror-chatterino2/src/providers/LinkResolver.hpp

20 lines
301 B
C++
Raw Normal View History

2018-08-24 11:56:42 +02:00
#pragma once
#include <QString>
#include <functional>
2018-09-06 12:54:28 +02:00
#include "messages/Link.hpp"
2018-08-24 11:56:42 +02:00
namespace chatterino {
2018-08-25 20:38:14 +02:00
class LinkResolver
2018-08-24 11:56:42 +02:00
{
public:
2018-08-25 20:38:14 +02:00
static void getLinkInfo(const QString url,
2018-10-21 13:43:02 +02:00
std::function<void(QString, Link)> callback);
2018-08-24 11:56:42 +02:00
private:
};
} // namespace chatterino