Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
The translator class translates a message to another language. More...
#include <FXTranslator.h>
Public Member Functions | |
FXTranslator () | |
Construct translator. | |
virtual const FXchar * | tr (const FXchar *context, const FXchar *message, const FXchar *hint=nullptr, FXint count=-1) const FX_FORMAT(2) |
Translate a string. | |
virtual void | save (FXStream &store) const |
Save translator to a stream. | |
virtual void | load (FXStream &store) |
Load translator from a stream. | |
virtual | ~FXTranslator () |
Destructor. | |
Public Member Functions inherited from FX::FXObject | |
const FXchar * | getClassName () const |
Get class name of some object. | |
FXbool | isMemberOf (const FXMetaClass *metaclass) const |
Check if object is member of metaclass. | |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
Try handle message safely, catching certain exceptions. | |
virtual long | onDefault (FXObject *, FXSelector, void *) |
Called for unhandled messages. | |
virtual | ~FXObject () |
Virtual destructor. | |
The translator class translates a message to another language.
Copyright © 1997-2022 Jeroen van der Zijp |