summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-08-22 12:37:23 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-08-22 12:37:23 +0200
commit6610a6370b9702d6dbd107716d5df3227be42e39 (patch)
treeaba164719d56404ac757c6eef8cefcbc9d5ae61c /include/mbgl/platform
parentb9c7e1bdd99b4c6d37672ef34ffe178d4bc54ad3 (diff)
downloadqtlocation-mapboxgl-6610a6370b9702d6dbd107716d5df3227be42e39.tar.gz
use platform-specific NSString for case changes on OS X/iOS
refs #309
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r--include/mbgl/platform/platform.hpp6
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);