From 89383cff1ba5d8a928262fcb4c40382a981c78c8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 11 Jun 2021 04:51:03 +0200 Subject: Remove dependency on youtube-dl for streaming youtube, resulting in faster video startup --- include/StringUtils.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/StringUtils.hpp') diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp index 8a94d2f..cd18366 100644 --- a/include/StringUtils.hpp +++ b/include/StringUtils.hpp @@ -7,6 +7,7 @@ namespace QuickMedia { // Return false to stop iterating using StringSplitCallback = std::function; + void string_split(const std::string &str, const std::string &delimiter, StringSplitCallback callback_func); void string_split(const std::string &str, char delimiter, StringSplitCallback callback_func); // Returns the number of replaced substrings size_t string_replace_all(std::string &str, char old_char, char new_char); -- cgit v1.2.3