|
VoiceMan
|
The abstract interface for all classes to get language objects by language identifier. More...
Public Member Functions | |
| virtual const Lang * | getLangById (LangId langId) const =0 |
| Returns language object by language ID. | |
| virtual | ~AbstractLangIdResolver () |
| The destructor. | |
In daemon code language objects are usually identified by special language ID values . This interface declares method to translate such language identifiers to a valid language objects for further operations.
| virtual const Lang* AbstractLangIdResolver::getLangById | ( | LangId | langId | ) | const [pure virtual] |
This method checks if provided language identifier is valid and returns a pointer to corresponding language object or NULL otherwise.
| [in] | langId | The language identifier to get object by |
Implemented in LangManager.
1.7.5.1