diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-08-26 17:43:02 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-08-26 17:43:02 +0200 |
commit | 5b4ad90bac82eb31ec9ff23ebf7790027d389d5f (patch) | |
tree | 2ff0e50a876dc7126eab17d84ded611813326787 /include | |
parent | 0f73a0192e60823e49261dae2202d572be90c28b (diff) | |
parent | f566b6595b009c1b0896d2e5a55324c4ab4e3b5c (diff) | |
download | qtlocation-mapboxgl-5b4ad90bac82eb31ec9ff23ebf7790027d389d5f.tar.gz |
Merge pull request #445 from mapbox/nsstring
Use NSString-specific case change functions on OS X/iOS
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/platform/platform.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mbgl/platform/platform.hpp b/include/mbgl/platform/platform.hpp index 43c6ce4f5e..22405a4cfd 100644 --- a/include/mbgl/platform/platform.hpp +++ b/include/mbgl/platform/platform.hpp @@ -28,6 +28,12 @@ std::shared_ptr<Request> request_http(const std::string &url, std::function<void(Response *)> callback, std::shared_ptr<uv::loop> loop = nullptr); +// Uppercase a string, potentially using platform-specific routines. +std::string uppercase(const std::string &string); + +// Lowercase a string, potentially using platform-specific routines. +std::string lowercase(const std::string &string); + // Cancels an HTTP request. void cancel_request_http(const std::shared_ptr<Request> &req); |