aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp2
-rw-r--r--include/Storage.hpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 86a2993..db3dd09 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -103,7 +103,7 @@ namespace QuickMedia {
Json::Value load_video_history_json();
private:
void init(Window parent_window, std::string &program_path);
- void load_plugin_by_name(std::vector<Tab> &tabs, int &start_tab_index, FileManagerMimeType fm_mime_type, FileSelectionHandler file_selection_handler);
+ void load_plugin_by_name(std::vector<Tab> &tabs, int &start_tab_index, FileManagerMimeType fm_mime_type, FileSelectionHandler file_selection_handler, std::string instance);
void common_event_handler(sf::Event &event);
void handle_x11_events();
void base_event_handler(sf::Event &event, PageType previous_page, Body *body, SearchBar *search_bar, bool handle_key_press = true, bool handle_searchbar = true);
diff --git a/include/Storage.hpp b/include/Storage.hpp
index c3f40aa..9107bb2 100644
--- a/include/Storage.hpp
+++ b/include/Storage.hpp
@@ -3,9 +3,12 @@
#include "Path.hpp"
#include <functional>
#include <filesystem>
-#include <json/value.h>
#include <rapidjson/fwd.h>
+namespace Json {
+ class Value;
+}
+
namespace QuickMedia {
// Return false to stop the iterator
using FileIteratorCallback = std::function<bool(const std::filesystem::path &filepath)>;