summaryrefslogtreecommitdiff
path: root/include/mbgl/util/constants.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-12-08 10:56:00 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-12-08 11:04:08 +0100
commit1f91be988bbc0ad01ac2cf5df496ce7e6a90ea32 (patch)
tree00564c6eaa55cd0e46339d4215aba93ff93d369a /include/mbgl/util/constants.hpp
parentde098591c5969735f2ed4683f9cc47221f152dd1 (diff)
downloadqtlocation-mapboxgl-1f91be988bbc0ad01ac2cf5df496ce7e6a90ea32.tar.gz
add user agent header
fixes #628
Diffstat (limited to 'include/mbgl/util/constants.hpp')
-rw-r--r--include/mbgl/util/constants.hpp32
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