aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp5
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);