aboutsummaryrefslogtreecommitdiff
path: root/plugins/Pipe.hpp
blob: 0711ee4257cec3b65ba5c77e628f768bae150579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "Page.hpp"

namespace QuickMedia {
    class PipePage : public Page {
    public:
        PipePage(Program *program) : Page(program) {}
        const char* get_title() const override { return ""; }
        PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
        bool is_single_page() const override { return true; }

        static void load_body_items_from_stdin(BodyItems &items);
    };
}