1
0
Fork 0
firefox/intl/icu_capi/bindings/cpp/ICU4XDisplayNamesOptionsV1.hpp
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

43 lines
1,011 B
C++

#ifndef ICU4XDisplayNamesOptionsV1_HPP
#define ICU4XDisplayNamesOptionsV1_HPP
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <algorithm>
#include <memory>
#include <variant>
#include <optional>
#include "diplomat_runtime.hpp"
#include "ICU4XDisplayNamesOptionsV1.h"
#include "ICU4XDisplayNamesStyle.hpp"
#include "ICU4XDisplayNamesFallback.hpp"
#include "ICU4XLanguageDisplay.hpp"
/**
* See the [Rust documentation for `DisplayNamesOptions`](https://docs.rs/icu/latest/icu/displaynames/options/struct.DisplayNamesOptions.html) for more information.
*/
struct ICU4XDisplayNamesOptionsV1 {
public:
/**
* The optional formatting style to use for display name.
*/
ICU4XDisplayNamesStyle style;
/**
* The fallback return when the system does not have the
* requested display name, defaults to "code".
*/
ICU4XDisplayNamesFallback fallback;
/**
* The language display kind, defaults to "dialect".
*/
ICU4XLanguageDisplay language_display;
};
#endif