1#pragma once
2
3#include <memory>
4#include <string>
5
6namespace mbgl {
7namespace platform {
8
9class Request;
10
11// Uppercase a string, potentially using platform-specific routines.
12std::string uppercase(const std::string &string);
13
14// Lowercase a string, potentially using platform-specific routines.
15std::string lowercase(const std::string &string);
16
17// Gets the name of the current thread.
18std::string getCurrentThreadName();
19
20// Set the name of the current thread, truncated at 15.
21void setCurrentThreadName(const std::string& name);
22
23// Makes the current thread low priority.
24void makeThreadLowPriority();
25
26// Shows an alpha image with the specified dimensions in a named window.
27void showDebugImage(std::string name, const char *data, size_t width, size_t height);
28
29// Shows an alpha image with the specified dimensions in a named window.
30void showColorDebugImage(std::string name, const char *data, size_t logical_width, size_t logical_height, size_t width, size_t height);
31} // namespace platform
32} // namespace mbgl
33

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/platform.hpp