Drag[en]gine Game Engine  1.0
deLanguagePackEntry Class Reference

Language Pack Entry. More...

#include <deLanguagePackEntry.h>

Public Member Functions

Constructors and Destructors
 deLanguagePackEntry (const char *name)
 
 ~deLanguagePackEntry ()
 
Management
const char * GetName () const
 
const decUnicodeStringGetText () const
 
void SetText (const decUnicodeString &text)
 

Detailed Description

Language Pack Entry.

Provides translations from external files. A language pack contains a large list of entries which assign translations to a name. This list is not very optimal which is why the translator exists to fetch the translations from language packs organizing them in a section/entry list.

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Constructor & Destructor Documentation

◆ deLanguagePackEntry()

deLanguagePackEntry::deLanguagePackEntry ( const char *  name)

Creates a new translator entry object with the given name.

◆ ~deLanguagePackEntry()

deLanguagePackEntry::~deLanguagePackEntry ( )

Cleans up the translator.

Member Function Documentation

◆ GetName()

const char* deLanguagePackEntry::GetName ( ) const
inline

Retrieves the name of the entry.

◆ GetText()

const decUnicodeString& deLanguagePackEntry::GetText ( ) const
inline

Retrieves the text.

References SetText().

◆ SetText()

void deLanguagePackEntry::SetText ( const decUnicodeString text)

Sets the text.

Referenced by GetText().


The documentation for this class was generated from the following file: