27 lines
632 B
C++
27 lines
632 B
C++
#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
|