diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-06 13:31:21 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-06 13:31:21 +0200 |
commit | 75ca528807ae0eb77d3d11ab6075e256d0bfadd2 (patch) | |
tree | 820a857aadf5fdaf1305c41233ae9a5a240ef990 /include | |
parent | e66d24f74d5458241d869fb3df42b4f2a2ea69f4 (diff) |
Add saucenao
Diffstat (limited to 'include')
-rw-r--r-- | include/QuickMedia.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 492003f..cea9b88 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -7,6 +7,8 @@ #include "Tab.hpp" #include "MessageQueue.hpp" #include "AsyncTask.hpp" +#include "../plugins/Plugin.hpp" +#include "../plugins/FileManager.hpp" #include <vector> #include <memory> #include <SFML/Graphics/Font.hpp> @@ -17,7 +19,6 @@ #include <future> #include <thread> #include <stack> -#include "../plugins/Plugin.hpp" #include <X11/Xlib.h> #include <X11/Xatom.h> @@ -99,7 +100,7 @@ namespace QuickMedia { Json::Value load_video_history_json(); private: void init(Window parent_window); - void load_plugin_by_name(std::vector<Tab> &tabs, const char *start_dir, int &start_tab_index); + void load_plugin_by_name(std::vector<Tab> &tabs, const char *start_dir, int &start_tab_index, FileManagerMimeType fm_mime_type); // Returns true if the window was closed bool handle_window_close(); void base_event_handler(sf::Event &event, PageType previous_page, Body *body, SearchBar *search_bar, bool handle_key_press = true, bool handle_searchbar = true); |