aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp2
-rw-r--r--plugins/Page.hpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index dd633e5..e94cc13 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -321,7 +321,6 @@ namespace QuickMedia {
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
bool submit_is_async() override { return false; }
bool clear_search_after_submit() override { return true; }
- void on_navigate_to_page(Body *body) override;
void add_body_item(std::shared_ptr<BodyItem> body_item);
@@ -352,7 +351,6 @@ namespace QuickMedia {
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
bool submit_is_async() override { return false; }
bool clear_search_after_submit() override { return true; }
- void on_navigate_to_page(Body *body) override;
void add_room_body_item_to_tag(std::shared_ptr<BodyItem> body_item, const std::string &tag);
void remove_room_body_item_from_tag(std::shared_ptr<BodyItem> body_item, const std::string &tag);
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 6cea186..c61fd6d 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -8,6 +8,7 @@
#include "../include/MediaChapter.hpp"
namespace QuickMedia {
+ class Program;
constexpr int SEARCH_DELAY_FILTER = 50;
// TODO: Remove to PageType when the other PageType is removed