blob: c342a10a11bf46f8068a2cc0595a7c388f475160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "Plugin.hpp"
namespace QuickMedia {
class Youtube : public Plugin {
public:
SearchResult search(const std::string &text, std::vector<std::unique_ptr<BodyItem>> &result_items, Page &next_page) override;
SuggestionResult update_search_suggestions(const std::string &text, std::vector<std::unique_ptr<BodyItem>> &result_items) override;
std::vector<std::unique_ptr<BodyItem>> get_related_media(const std::string &url) override;
};
}
|