<% const properties = locals.properties; -%> // This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`. #pragma once #include "types_string_values.hpp" #include "../../conversion/conversion.hpp" #include "../../conversion/constant.hpp" #include #include #include #include namespace mbgl { namespace android { namespace conversion { template <> struct Converter { Result operator()(jni::JNIEnv& env, const mbgl::style::VisibilityType& value) const { return convert(env, toString(value)); } }; <% for (const property of properties) { -%> template <> struct Converter> { Result operator()(jni::JNIEnv& env, const mbgl::style::<%- propertyNativeType(property) %>& value) const { return convert(env, toString(value)); } }; <% } -%> } // namespace conversion } // namespace android } // namespace mbgl