summaryrefslogtreecommitdiff
path: root/includes/BString.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-20 21:31:41 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-20 21:31:41 -0700
commitdf9b8f8ae7a540988c20fdffaaff2442c349873a (patch)
treeff9be69934b6896c8d7e91412b63dd9cd9b37341 /includes/BString.h
parentfcc66ce9f5d6db995536beab5539fd47e490bf14 (diff)
Moving tokenize, percentEncode and percentDecode around. Fixing a few warnings. Workarounding c-ares and pthreads compilation issue with unicode.
Diffstat (limited to 'includes/BString.h')
-rw-r--r--includes/BString.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/BString.h b/includes/BString.h
index 0a5fceb..dc9fd5d 100644
--- a/includes/BString.h
+++ b/includes/BString.h
@@ -134,6 +134,9 @@ class String : private std::string {
bool isEmpty() { return std::string::empty(); }
+ std::vector<String> tokenize(const String & delimiters = "&", bool trimEmpty = true);
+
+
using std::string::npos;
using std::string::size_type;
};