summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XLocaleFallbackPriority.hpp
blob: 19d52ae7a34a62f551e793c2fa9e0238e3b4e9f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef ICU4XLocaleFallbackPriority_HPP
#define ICU4XLocaleFallbackPriority_HPP
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <algorithm>
#include <memory>
#include <variant>
#include <optional>
#include "diplomat_runtime.hpp"

#include "ICU4XLocaleFallbackPriority.h"



/**
 * Priority mode for the ICU4X fallback algorithm.
 * 
 * See the [Rust documentation for `LocaleFallbackPriority`](https://docs.rs/icu/latest/icu/locid_transform/fallback/enum.LocaleFallbackPriority.html) for more information.
 */
enum struct ICU4XLocaleFallbackPriority {
  Language = 0,
  Region = 1,
  Collation = 2,
};

#endif