summaryrefslogtreecommitdiff
path: root/include/mbgl/util/constants.hpp
diff options
context:
space:
mode:
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