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...
|
virtual void | Set (const char *text, unsigned lengthBytes)=0 |
| The implementer must set here the translated text. More...
|
|
virtual | ~TranslationData () |
|
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.
◆ ~TranslationData()
virtual cohtml::ILocalizationManager::TranslationData::~TranslationData |
( |
| ) |
|
|
inlinevirtual |
◆ Set()
virtual void cohtml::ILocalizationManager::TranslationData::Set |
( |
const char * |
text, |
|
|
unsigned |
lengthBytes |
|
) |
| |
|
pure virtual |
The implementer must set here the translated text.
- Parameters
-
text | the translated text encoded in UTF-8 |
lengthBytes | the length in bytes of the UTF-8 encoded text |