From e308d77b06405b91885cf6f97c0dc2a1b70679ef Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 11 May 2021 14:24:52 +0200 Subject: Improve file saving gui --- include/QuickMedia.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/QuickMedia.hpp') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 01baf76..0ef5273 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -120,6 +120,8 @@ namespace QuickMedia { bool chat_page(MatrixChatPage *matrix_chat_page, RoomData *current_room, std::vector &room_tabs, int room_selected_tab); void after_matrix_login_page(); void download_page(const char *url, bool download_use_youtube_dl); + // Returns the full path where the file should be saved, or an empty string if the operation was cancelled + std::string file_save_page(const std::string &filename); enum class LoadImageResult { OK, -- cgit v1.2.3