1.26.2.1
Gameface
cohtml::ILocalizationManager::TranslationData Struct Referenceabstract

The struct should be used by the implementer to set the translated text. Use this struct only in the context of a ILocalizationManager::OnTranslate call. More...

Public Member Functions

virtual void Set (const char *text, unsigned lengthBytes)=0
 The implementer must set here the translated text. More...
 
virtual ~TranslationData ()
 

Detailed Description

The struct should be used by the implementer to set the translated text. Use this struct only in the context of a ILocalizationManager::OnTranslate call.

Constructor & Destructor Documentation

◆ ~TranslationData()

virtual cohtml::ILocalizationManager::TranslationData::~TranslationData ( )
inlinevirtual

Member Function Documentation

◆ Set()

virtual void cohtml::ILocalizationManager::TranslationData::Set ( const char *  text,
unsigned  lengthBytes 
)
pure virtual

The implementer must set here the translated text.

Parameters
textthe translated text encoded in UTF-8
lengthBytesthe length in bytes of the UTF-8 encoded text