Manager for languages.
More...
#include <LanguageManager.h>
List of all members.
Public Member Functions |
| CLanguageManager (const std::string &lang, const std::string &fileExtention) |
| Constructor.
|
| ~CLanguageManager () |
| Destructor.
|
std::string | GetString (const std::string &id) |
| Gets the localized string.
|
std::string | GetString (const std::string &id, const char *first,...) |
| Gets a string.
|
void | AddLangFileDir (const std::string &langFileDir) |
| Adds a lang file directory to the language directory list.
|
std::vector< std::string > | GetLangFileDirs () |
| Gets the lang file dirs.
|
Detailed Description
Manager for languages.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Constructor & Destructor Documentation
Constructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
lang | The lang. |
fileExtention | The file extention. |
Destructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Member Function Documentation
Adds a lang file directory to the language directory list.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
langFileDir | The lang file dir. |
Gets the lang file dirs.
- Author:
- Christian Knobloch
- Date:
- 24.06.2010
- Returns:
- The lang file dirs.
Gets the localized string.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
- Returns:
- The localized string.
Gets a string.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
id | The identifier. |
first | The first. |
- Returns:
- The string.
The documentation for this class was generated from the following files: