summaryrefslogtreecommitdiff
path: root/include/llmr/style/property_value.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-06-27 16:59:42 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-06-27 16:59:42 +0200
commit0e9e2972755b05ddc3e7ab073bb4f9c10377d83c (patch)
tree1b6a79ba94b36e0f48f47f26975f6acf0b73cb19 /include/llmr/style/property_value.hpp
parentd75f0075f3356f8c0b8616ae93a9973d01cfbcfd (diff)
downloadqtlocation-mapboxgl-0e9e2972755b05ddc3e7ab073bb4f9c10377d83c.tar.gz
more refactoring and fallback values
Diffstat (limited to 'include/llmr/style/property_value.hpp')
-rw-r--r--include/llmr/style/property_value.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/llmr/style/property_value.hpp b/include/llmr/style/property_value.hpp
new file mode 100644
index 0000000000..9772258da8
--- /dev/null
+++ b/include/llmr/style/property_value.hpp
@@ -0,0 +1,21 @@
+#ifndef LLMR_STYLE_PROPERTY_VALUE
+#define LLMR_STYLE_PROPERTY_VALUE
+
+#include <llmr/util/variant.hpp>
+#include <llmr/style/function_properties.hpp>
+#include <llmr/style/types.hpp>
+
+namespace llmr {
+
+typedef util::variant<
+ FunctionProperty,
+ TranslateAnchorType,
+ RotateAnchorType,
+ Color,
+ std::string,
+ bool
+> PropertyValue;
+
+}
+
+#endif