UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::LanguageManager Class Reference

#include <ugdk/util/languagemanager.h>

Public Member Functions

 LanguageManager (const std::string &default_language_code)
 
 ~LanguageManager ()
 
const std::string & default_language () const
 
bool RegisterLanguage (const std::string &code, const std::string &language_file)
 
bool Setup (const std::string &active_language)
 

Constructor & Destructor Documentation

ugdk::LanguageManager::LanguageManager ( const std::string &  default_language_code)
inline
ugdk::LanguageManager::~LanguageManager ( )
inline

Member Function Documentation

const std::string& ugdk::LanguageManager::default_language ( ) const
inline
bool ugdk::LanguageManager::RegisterLanguage ( const std::string &  code,
const std::string &  language_file 
)
bool ugdk::LanguageManager::Setup ( const std::string &  active_language)
Parameters
active_languageThe language that will be active.

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