From 75ca528807ae0eb77d3d11ab6075e256d0bfadd2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 6 May 2021 13:31:21 +0200 Subject: Add saucenao --- include/QuickMedia.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 #include #include @@ -17,7 +19,6 @@ #include #include #include -#include "../plugins/Plugin.hpp" #include #include @@ -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 &tabs, const char *start_dir, int &start_tab_index); + void load_plugin_by_name(std::vector &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); -- cgit v1.2.3