#ifndef LocaleDirectionality_H #define LocaleDirectionality_H #include #include #include #include #include "diplomat_runtime.h" #include "DataError.d.h" #include "DataProvider.d.h" #include "Locale.d.h" #include "LocaleDirection.d.h" #include "LocaleExpander.d.h" #include "LocaleDirectionality.d.h" typedef struct icu4x_LocaleDirectionality_create_mv1_result {union {LocaleDirectionality* ok; DataError err;}; bool is_ok;} icu4x_LocaleDirectionality_create_mv1_result; icu4x_LocaleDirectionality_create_mv1_result icu4x_LocaleDirectionality_create_mv1(const DataProvider* provider); typedef struct icu4x_LocaleDirectionality_create_with_expander_mv1_result {union {LocaleDirectionality* ok; DataError err;}; bool is_ok;} icu4x_LocaleDirectionality_create_with_expander_mv1_result; icu4x_LocaleDirectionality_create_with_expander_mv1_result icu4x_LocaleDirectionality_create_with_expander_mv1(const DataProvider* provider, const LocaleExpander* expander); LocaleDirection icu4x_LocaleDirectionality_get_mv1(const LocaleDirectionality* self, const Locale* locale); bool icu4x_LocaleDirectionality_is_left_to_right_mv1(const LocaleDirectionality* self, const Locale* locale); bool icu4x_LocaleDirectionality_is_right_to_left_mv1(const LocaleDirectionality* self, const Locale* locale); void icu4x_LocaleDirectionality_destroy_mv1(LocaleDirectionality* self); #endif // LocaleDirectionality_H