#ifndef ICU4XFixedDecimalFormatter_H #define ICU4XFixedDecimalFormatter_H #include #include #include #include #include "diplomat_runtime.h" #ifdef __cplusplus namespace capi { #endif typedef struct ICU4XFixedDecimalFormatter ICU4XFixedDecimalFormatter; #ifdef __cplusplus } // namespace capi #endif #include "ICU4XDataProvider.h" #include "ICU4XLocale.h" #include "ICU4XFixedDecimalGroupingStrategy.h" #include "diplomat_result_box_ICU4XFixedDecimalFormatter_ICU4XError.h" #include "ICU4XDataStruct.h" #include "ICU4XFixedDecimal.h" #include "diplomat_result_void_ICU4XError.h" #ifdef __cplusplus namespace capi { extern "C" { #endif diplomat_result_box_ICU4XFixedDecimalFormatter_ICU4XError ICU4XFixedDecimalFormatter_create_with_grouping_strategy(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XFixedDecimalGroupingStrategy grouping_strategy); diplomat_result_box_ICU4XFixedDecimalFormatter_ICU4XError ICU4XFixedDecimalFormatter_create_with_decimal_symbols_v1(const ICU4XDataStruct* data_struct, ICU4XFixedDecimalGroupingStrategy grouping_strategy); diplomat_result_void_ICU4XError ICU4XFixedDecimalFormatter_format(const ICU4XFixedDecimalFormatter* self, const ICU4XFixedDecimal* value, DiplomatWriteable* write); void ICU4XFixedDecimalFormatter_destroy(ICU4XFixedDecimalFormatter* self); #ifdef __cplusplus } // extern "C" } // namespace capi #endif #endif