diff options
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 5f1f05f0..012ae98f 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -126,6 +126,14 @@ const std::string findSameSubstring(const std::string &str1, const std::string & const char* getSafeUtf8String(std::string text); +/** + * Returns a bool value depending on the given string value. + * + * @param text the string used to get the bool value + * @return a boolean value.. + */ +bool getBoolFromString(const std::string &text); + std::string autocomplete(std::vector<std::string> &candidates, std::string base); |