Classes | Functions

lang.h File Reference

Supports multiple languages. More...

#include <string>
#include <vector>
#include <stack>
#include <list>
#include <map>
#include "utils/memleak.h"
#include "utils/my_assert.h"
#include "utils.h"
#include "params.h"
Include dependency graph for lang.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  c_lang_entry
 Stores one message from language file. More...
class  c_lang_file
 Stores language file. More...

Functions

void lang_get_langs (int file_id, vector< string > &langs)
 Enumerates available languages.
string lang_get_string (int file_id, string lang, int id)
 Gets language-specific string, and initializes an array if needed.
void lang_rehash ()
 Rehashses the language files.
string lang_subst (string str, string substr)
 Routine for "%s" substitution.
string lang_subst (string str, const map< string, string > &subst)
 Routine for "%xxx;" substitution.
string lang_subst_multi (const string &str, const vector< string > &subst)
 Substitutes multiple.

Detailed Description

Supports multiple languages.

Definition in file lang.h.


Generated on Sat Aug 7 2010 15:21:53 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads