diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-12-04 18:29:42 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-12-04 20:02:50 +0100 |
commit | abafb52f37beb5659efc2105ccd1568e1f754898 (patch) | |
tree | 6a60636d3497560ca61e5aae5f6d7061c4f18553 /src/mbgl/style/style_properties.cpp | |
parent | bff6aeb4da41dee1f5f1cfa0be81b6c257257253 (diff) | |
download | qtlocation-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.cpp | 11 |
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; } + +} |