Pipe.hpp 532 B

1234567891011121314151617
  1. #pragma once
  2. #include "Page.hpp"
  3. namespace QuickMedia {
  4. class PipePage : public Page {
  5. public:
  6. PipePage(Program *program, const char *title = "") : Page(program), title(title) {}
  7. const char* get_title() const override { return title; }
  8. PluginResult submit(const SubmitArgs &args, std::vector<Tab> &result_tabs) override;
  9. bool is_single_page() const override { return true; }
  10. static void load_body_items_from_stdin(BodyItems &items);
  11. private:
  12. const char *title;
  13. };
  14. }