blob: 3ede60dd67d828761bb79d4def0db6d4deb53711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Page.hpp"
namespace QuickMedia {
class InfoPage : public Page {
public:
InfoPage(Program *program) : Page(program) {}
const char* get_title() const override { return "Info"; }
PluginResult submit(const SubmitArgs &args, std::vector<Tab> &result_tabs) override;
bool submit_is_async() const override { return false; }
void copy_to_clipboard(const BodyItem *body_item) override;
static std::shared_ptr<BodyItem> add_url(const std::string &url);
static std::shared_ptr<BodyItem> add_reverse_image_search(const std::string &image_url);
static std::shared_ptr<BodyItem> add_google_search(const std::string &search_term);
};
}
|