From 56acc142c6ef9a65147acdea6737acbfaeb7eca4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 15 Oct 2019 19:57:24 +0200 Subject: Add tor support --- include/StringUtils.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/StringUtils.hpp (limited to 'include/StringUtils.hpp') diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp new file mode 100644 index 0000000..72210c9 --- /dev/null +++ b/include/StringUtils.hpp @@ -0,0 +1,11 @@ +#pragma once + +#include +#include + +namespace QuickMedia { + // Return false to stop iterating + using StringSplitCallback = std::function; + + void string_split(const std::string &str, char delimiter, StringSplitCallback callback_func); +} \ No newline at end of file -- cgit v1.2.3