diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-10 22:17:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-10 22:17:34 +0200 |
commit | 0ea083cbd4013cf2e709a3e3810ae96167585a74 (patch) | |
tree | 119f1fb52c94442d7d01d1a7992ac1a9f3b387a6 /include/DownloadUtils.hpp | |
parent | 1c150eeb1d530e19976c945e69410c0cf26a3cb0 (diff) |
Matrix: better name for clipboard file (with extension), give pantalaimon files proper filenames when downloading
Diffstat (limited to 'include/DownloadUtils.hpp')
-rw-r--r-- | include/DownloadUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index 7e46d8b..48ee309 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -32,6 +32,6 @@ namespace QuickMedia { // Note: if |cloudflare_bypass| is set to true then tls is limited to version 1.1 and the user agent is changed. DownloadResult download_to_file(const std::string &url, const std::string &destination_filepath, const std::vector<CommandArg> &additional_args, bool use_browser_useragent = false, bool cloudflare_bypass = false); // Returns false if there was an error trying to create the download process - bool download_async_gui(const std::string &url, const std::string &file_manager_start_dir, bool no_video); + bool download_async_gui(const std::string &url, const std::string &file_manager_start_dir, bool no_video, const std::string &filename); DownloadResult download_to_json(const std::string &url, rapidjson::Document &result, const std::vector<CommandArg> &additional_args, bool use_browser_useragent = false, bool fail_on_error = true); }
\ No newline at end of file |