Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XLocaleExpander.h

raw
1 #ifndef ICU4XLocaleExpander_H
2 #define ICU4XLocaleExpander_H
3 #include <stdio.h>
4 #include <stdint.h>
5 #include <stddef.h>
6 #include <stdbool.h>
7 #include "diplomat_runtime.h"
8
9 #ifdef __cplusplus
10 namespace capi {
11 #endif
12
13 typedef struct ICU4XLocaleExpander ICU4XLocaleExpander;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "diplomat_result_box_ICU4XLocaleExpander_ICU4XError.h"
19 #include "ICU4XLocale.h"
20 #include "ICU4XTransformResult.h"
21 #ifdef __cplusplus
22 namespace capi {
23 extern "C" {
24 #endif
25
26 diplomat_result_box_ICU4XLocaleExpander_ICU4XError ICU4XLocaleExpander_create(const ICU4XDataProvider* provider);
27
28 diplomat_result_box_ICU4XLocaleExpander_ICU4XError ICU4XLocaleExpander_create_extended(const ICU4XDataProvider* provider);
29
30 ICU4XTransformResult ICU4XLocaleExpander_maximize(const ICU4XLocaleExpander* self, ICU4XLocale* locale);
31
32 ICU4XTransformResult ICU4XLocaleExpander_minimize(const ICU4XLocaleExpander* self, ICU4XLocale* locale);
33
34 ICU4XTransformResult ICU4XLocaleExpander_minimize_favor_script(const ICU4XLocaleExpander* self, ICU4XLocale* locale);
35 void ICU4XLocaleExpander_destroy(ICU4XLocaleExpander* self);
36
37 #ifdef __cplusplus
38 } // extern "C"
39 } // namespace capi
40 #endif
41 #endif