cohtml::ILocalizationManager::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.

#include <LocalizationManager.h>

Public Functions

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

Public Functions Documentation

function Set

virtual void Set(
    const char * text,
    unsigned lengthBytes
) =0

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

function ~TranslationData

inline virtual ~TranslationData()