From ca07c2be3bba3291f59d160eac13831c85d16550 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 3 Oct 2020 05:48:46 +0200 Subject: Remove unused code --- include/DownloadUtils.hpp | 6 ------ include/Page.hpp | 1 - 2 files changed, 7 deletions(-) (limited to 'include') diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index 8f26bfc..7ce4b15 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -15,12 +15,6 @@ namespace QuickMedia { std::string value; }; - struct FormData { - std::string key; - std::string value; - }; - DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor, bool use_browser_useragent = false, bool fail_on_error = true); DownloadResult download_to_string_cache(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor, bool use_browser_useragent = false); - std::vector create_command_args_from_form_data(const std::vector &form_data); } \ No newline at end of file diff --git a/include/Page.hpp b/include/Page.hpp index 68c2470..f8af3c0 100644 --- a/include/Page.hpp +++ b/include/Page.hpp @@ -4,7 +4,6 @@ namespace QuickMedia { enum class Page { EXIT, SEARCH_SUGGESTION, - //SEARCH_RESULT, VIDEO_CONTENT, EPISODE_LIST, IMAGES, -- cgit v1.2.3