diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Manga.hpp | 2 | ||||
-rw-r--r-- | plugins/Page.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Manga.hpp b/plugins/Manga.hpp index d3725da..afd8a3c 100644 --- a/plugins/Manga.hpp +++ b/plugins/Manga.hpp @@ -53,7 +53,7 @@ namespace QuickMedia { public: MangaChaptersPage(Program *program, std::string manga_name, std::string manga_url) : TrackablePage(program, std::move(manga_name), std::move(manga_url)) {} TrackResult track(const std::string &str) override; - void on_navigate_to_page() override; + void on_navigate_to_page(BodyItems &body_items) override; protected: virtual bool extract_id_from_url(const std::string &url, std::string &manga_id) const = 0; virtual const char* get_service_name() const = 0; diff --git a/plugins/Page.hpp b/plugins/Page.hpp index cc7dad6..db844c5 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -45,7 +45,7 @@ namespace QuickMedia { virtual bool is_lazy_fetch_page() const { return false; } // This is called both when first navigating to page and when going back to page - virtual void on_navigate_to_page() {}; + virtual void on_navigate_to_page(BodyItems &body_items) { (void)body_items; } // Called periodically (every frame right now) if this page is the currently active one virtual void update() {} |