Defined in omni/core/ModuleExports.h

struct ModuleExportEntryCarbIL10n

omni::core::ModuleExports entry to interop with carb::l10n::IL10n.

Use the helper OMNI_MODULE_SET_EXPORTS to add this entry.

Public Functions

inline ModuleExportEntryCarbIL10n(const char *t, ModuleExportEntryFlag f)


Public Members

const char *type

Unique type name describing the entry.

ModuleExportEntryFlag flags

Special flags for the entry (ex: required).

uint32_t byteCount

Size of the entry in bytes (including the header).

carb::l10n::IL10n **localization

Pointer to the module’s g_carbLocalization.

detail::CarbLocalizeStringFn *localizationFn

Pointer to the module’s g_localizationFn function pointer.

carb::InterfaceDesc interfaceDesc

Required version of carb::l10n::IL10n.