- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# CLanguage Class Reference

Language class holds string table. More...

`#include <Language.h>`

List of all members.

## Public Member Functions
| CLanguage ()
| Standard constructor.
WCHAR * | GetText (int index)
| Returns text string from the given index position in the table.
bool | SetLanguage (int language)
| Sets chosen language loaded from config.ini, then calls LoadTextLanguages() to initialize string table.

## Detailed Description

Language class holds string table.

Author:
  Petar Bajic

Date:
  January, 16 2007.

## Constructor & Destructor Documentation

CLanguage::CLanguage | ( |  | ) |

Standard constructor.

Author:
  Petar Bajic

Date:
  January, 16 2007.

## Member Function Documentation

WCHAR * CLanguage::GetText | ( | int | index | ) |

Returns text string from the given index position in the table.

Author:
  Petar Bajic

Date:
  January, 16 2007.

bool CLanguage::SetLanguage | ( | int | language | ) |

Sets chosen language loaded from config.ini, then calls LoadTextLanguages() to initialize string table.

Parameters:

  | language | 0 - english, 1 - serbian

Author:
  Petar Bajic

Date:
  January, 16 2007.

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

- My Documents/TS2/inc/Language.h
- My Documents/TS2/src/Language.cpp