diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-11 21:35:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-13 13:13:01 +0200 |
commit | 77ed51898157d99112be7550471ec06e32344c9e (patch) | |
tree | 0645274d0f13b4fa6940d4054f74a070611a8ef0 /plugins/Dmenu.hpp | |
parent | da89ec98fb34757f0c46dc8cb2dd87ae78d317ce (diff) |
Refactor plugin into seperate pages
TODO: Readd 4chan login page, manganelo creators page, autocomplete
Diffstat (limited to 'plugins/Dmenu.hpp')
-rw-r--r-- | plugins/Dmenu.hpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/Dmenu.hpp b/plugins/Dmenu.hpp deleted file mode 100644 index 32fdad1..0000000 --- a/plugins/Dmenu.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include "Plugin.hpp" - -namespace QuickMedia { - class Dmenu : public Plugin { - public: - Dmenu(); - bool search_is_filter() override { return true; } - bool search_suggestions_has_thumbnails() const override { return false; } - bool search_results_has_thumbnails() const override { return false; } - int get_search_delay() const override { return 50; } - bool search_suggestion_is_search() const override { return true; } - Page get_page_after_search() const override { return Page::EXIT; } - PluginResult get_front_page(BodyItems &result_items) override; - SearchResult search(const std::string &text, BodyItems &result_items) override; - private: - std::vector<std::string> stdin_data; - }; -}
\ No newline at end of file |