diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-12-08 10:56:00 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-12-08 11:04:08 +0100 |
commit | 1f91be988bbc0ad01ac2cf5df496ce7e6a90ea32 (patch) | |
tree | 00564c6eaa55cd0e46339d4215aba93ff93d369a /include/mbgl | |
parent | de098591c5969735f2ed4683f9cc47221f152dd1 (diff) | |
download | qtlocation-mapboxgl-1f91be988bbc0ad01ac2cf5df496ce7e6a90ea32.tar.gz |
add user agent header
fixes #628
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/util/constants.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/mbgl/util/constants.hpp b/include/mbgl/util/constants.hpp new file mode 100644 index 0000000000..2270f53072 --- /dev/null +++ b/include/mbgl/util/constants.hpp @@ -0,0 +1,32 @@ +#ifndef MBGL_UTIL_CONSTANTS +#define MBGL_UTIL_CONSTANTS + +#include <cmath> + +namespace mbgl { + +namespace util { + +extern const float tileSize; +extern const char *userAgent; + +} + +namespace debug { + +extern const bool tileParseWarnings; +extern const bool styleParseWarnings; +extern const bool spriteWarnings; +extern const bool renderWarnings; +extern const bool renderTree; +extern const bool labelTextMissingWarning; +extern const bool missingFontStackWarning; +extern const bool missingFontFaceWarning; +extern const bool glyphWarning; +extern const bool shapingWarning; + +} + +} + +#endif |