summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style_properties.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-12-04 18:29:42 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-12-04 20:02:50 +0100
commitabafb52f37beb5659efc2105ccd1568e1f754898 (patch)
tree6a60636d3497560ca61e5aae5f6d7061c4f18553 /src/mbgl/style/style_properties.cpp
parentbff6aeb4da41dee1f5f1cfa0be81b6c257257253 (diff)
downloadqtlocation-mapboxgl-abafb52f37beb5659efc2105ccd1568e1f754898.tar.gz
make most headers private
Diffstat (limited to 'src/mbgl/style/style_properties.cpp')
-rw-r--r--src/mbgl/style/style_properties.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mbgl/style/style_properties.cpp b/src/mbgl/style/style_properties.cpp
new file mode 100644
index 0000000000..29730fb85b
--- /dev/null
+++ b/src/mbgl/style/style_properties.cpp
@@ -0,0 +1,11 @@
+#include <mbgl/style/style_properties.hpp>
+
+namespace mbgl {
+
+template<> const FillProperties &defaultStyleProperties() { static const FillProperties p; return p; }
+template<> const LineProperties &defaultStyleProperties() { static const LineProperties p; return p; }
+template<> const SymbolProperties &defaultStyleProperties() { static const SymbolProperties p; return p; }
+template<> const RasterProperties &defaultStyleProperties() { static const RasterProperties p; return p; }
+template<> const BackgroundProperties &defaultStyleProperties() { static const BackgroundProperties p; return p; }
+
+}