aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-03 05:48:46 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-03 05:48:46 +0200
commitca07c2be3bba3291f59d160eac13831c85d16550 (patch)
tree3b0749a086f517dae3ff6591b848c2b77413f813 /include
parent38874aa9c8bfcf12bd1ceef013a2342da5a0eeea (diff)
Remove unused code
Diffstat (limited to 'include')
-rw-r--r--include/DownloadUtils.hpp6
-rw-r--r--include/Page.hpp1
2 files changed, 0 insertions, 7 deletions
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<CommandArg> &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<CommandArg> &additional_args, bool use_tor, bool use_browser_useragent = false);
- std::vector<CommandArg> create_command_args_from_form_data(const std::vector<FormData> &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,