aboutsummaryrefslogtreecommitdiff
path: root/plugins/Plugin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Plugin.hpp')
-rw-r--r--plugins/Plugin.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Plugin.hpp b/plugins/Plugin.hpp
index be70684..54ce67d 100644
--- a/plugins/Plugin.hpp
+++ b/plugins/Plugin.hpp
@@ -65,6 +65,8 @@ namespace QuickMedia {
}
virtual bool search_suggestions_has_thumbnails() const = 0;
virtual bool search_results_has_thumbnails() const = 0;
+ virtual std::string autocomplete_search(const std::string &query) { return query; }
+ virtual int get_autocomplete_delay() const { return 100; }
virtual int get_search_delay() const = 0;
virtual bool search_suggestion_is_search() const { return false; }
virtual Page get_page_after_search() const = 0;