diff options
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 29fce27..d5daa3d 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -11,7 +11,7 @@ namespace QuickMedia { class Program; constexpr int SEARCH_DELAY_FILTER = 50; - // TODO: Remove to PageType when the other PageType is removed + // TODO: Rename to PageType when the other PageType is removed enum class PageTypez { REGULAR, MANGA_IMAGES, @@ -50,7 +50,7 @@ namespace QuickMedia { return PluginResult::ERR; } // Note: If pagination is done by fetching the next page until we get to |page|, then the "current page" should be reset everytime |search| is called. - // Note: the first page fetched is 1 (search page is 0) + // Note: the first page fetched is 1 (search/lazy fetch page is 0) virtual PluginResult get_page(const std::string &str, int page, BodyItems &result_items) { (void)str; (void)page; (void)result_items; return PluginResult::OK; } DownloadResult download_json(Json::Value &result, const std::string &url, std::vector<CommandArg> additional_args, bool use_browser_useragent = false, std::string *err_msg = nullptr); |