#ifndef icu4x_LocaleFallbackerWithConfig_D_HPP #define icu4x_LocaleFallbackerWithConfig_D_HPP #include #include #include #include #include #include #include "../diplomat_runtime.hpp" namespace icu4x { namespace capi { struct Locale; } class Locale; namespace capi { struct LocaleFallbackIterator; } class LocaleFallbackIterator; } namespace icu4x { namespace capi { struct LocaleFallbackerWithConfig; } // namespace capi } // namespace namespace icu4x { class LocaleFallbackerWithConfig { public: inline std::unique_ptr fallback_for_locale(const icu4x::Locale& locale) const; inline const icu4x::capi::LocaleFallbackerWithConfig* AsFFI() const; inline icu4x::capi::LocaleFallbackerWithConfig* AsFFI(); inline static const icu4x::LocaleFallbackerWithConfig* FromFFI(const icu4x::capi::LocaleFallbackerWithConfig* ptr); inline static icu4x::LocaleFallbackerWithConfig* FromFFI(icu4x::capi::LocaleFallbackerWithConfig* ptr); inline static void operator delete(void* ptr); private: LocaleFallbackerWithConfig() = delete; LocaleFallbackerWithConfig(const icu4x::LocaleFallbackerWithConfig&) = delete; LocaleFallbackerWithConfig(icu4x::LocaleFallbackerWithConfig&&) noexcept = delete; LocaleFallbackerWithConfig operator=(const icu4x::LocaleFallbackerWithConfig&) = delete; LocaleFallbackerWithConfig operator=(icu4x::LocaleFallbackerWithConfig&&) noexcept = delete; static void operator delete[](void*, size_t) = delete; }; } // namespace #endif // icu4x_LocaleFallbackerWithConfig_D_HPP