Translator::GetCaps

Translator::GetCaps
virtual unsigned GetCaps() const;
Description

GetCaps specifies capabilities of the Translate implementation. Users can override this function to specify what Translate can do; by returning the Cap_ReceiveHtml flag, for example, they can specify that Translate will receive HTML formatted text from GFx. 

Inline functions CanReceiveHtml and NeedStripNewLines delegate to this function to obtain the appropriate flag bits.

Return Value

Unsigned value containing bit flags described by TranslateCaps. The default value is 0, indicating that Translate can neither receive nor generate HTML.