From 76ef34393aa72230a3490ecf7b06647ede1448da Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 9 Sep 2021 11:35:47 +0200 Subject: Add initial peertube support --- include/QuickMedia.hpp | 2 +- include/Storage.hpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'include') 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 &tabs, int &start_tab_index, FileManagerMimeType fm_mime_type, FileSelectionHandler file_selection_handler); + void load_plugin_by_name(std::vector &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 #include -#include #include +namespace Json { + class Value; +} + namespace QuickMedia { // Return false to stop the iterator using FileIteratorCallback = std::function; -- cgit v1.2.3