aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-01-23 18:33:28 +0100
committerdec05eba <dec05eba@protonmail.com>2022-01-23 18:33:28 +0100
commit8a05b8cdd48acca84fc52981d8cb989c849ea3cc (patch)
tree74f12222c6c063954d768bbe0437fa8dca85fddb /include
parent4ac963533bd7e538febf001cc158fcbd46f0267a (diff)
Youtube: show timestamps for video comments with timestamp at end of line, remove unused signature code for now
Diffstat (limited to 'include')
-rw-r--r--include/StringUtils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index d2457e8..d31713d 100644
--- a/include/StringUtils.hpp
+++ b/include/StringUtils.hpp
@@ -16,6 +16,7 @@ namespace QuickMedia {
// Returns the number of replaced substrings
size_t string_replace_all(std::string &str, const std::string &old_str, const std::string &new_str);
std::string strip(const std::string &str);
+ void strip(const char *str, size_t size, size_t *new_size);
bool string_starts_with(const std::string &str, const char *sub);
bool string_ends_with(const std::string &str, const std::string &ends_with_str);
size_t str_find_case_insensitive(const std::string &str, size_t start_index, const char *substr, size_t substr_len);