aboutsummaryrefslogtreecommitdiff
path: root/include/QuickMedia.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-11 14:24:52 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-11 14:24:52 +0200
commite308d77b06405b91885cf6f97c0dc2a1b70679ef (patch)
tree7fb0ed73c20354f3e0ff49ebb199e33ebc3427f7 /include/QuickMedia.hpp
parent6b90f55f4dc14b9d39fa0dbf6b82b3c12ccc29d9 (diff)
Improve file saving gui
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 2 insertions, 0 deletions
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<Tab> &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,