diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-11-18 23:32:08 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-11-18 23:32:12 +0100 |
commit | de45f6d8d7d777244006a7998ec971157e51296e (patch) | |
tree | 93ab54b196bda4af7d7fe16d74fb25f08c37a931 /include/StringUtils.hpp | |
parent | c56cb5d25388d938fce485ff02b067a2fd70e096 (diff) |
Readd meme gpg encryption in matrix, this time asynchronous decryption
of only visible items
Diffstat (limited to 'include/StringUtils.hpp')
-rw-r--r-- | include/StringUtils.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp index 2a01f54..91de829 100644 --- a/include/StringUtils.hpp +++ b/include/StringUtils.hpp @@ -9,6 +9,8 @@ namespace QuickMedia { void string_split(const std::string &str, const std::string &delimiter, StringSplitCallback callback_func, bool include_empty = true); void string_split(const std::string &str, char delimiter, StringSplitCallback callback_func, bool include_empty = true); + void string_split_view(const std::string_view str, const std::string &delimiter, StringSplitCallback callback_func, bool include_empty = true); + void string_split_view(const std::string_view str, char delimiter, StringSplitCallback callback_func, bool include_empty = true); // Returns the number of replaced substrings size_t string_replace_all(std::string &str, char old_char, char new_char); // Returns the number of replaced substrings |