core/Translator.h
changeset 1105 ce907ba50921
parent 732 13f3a417a340
child 1231 17badaf66ce4
     1.1 --- a/core/Translator.h	Sat Jul 14 00:47:30 2007 +0000
     1.2 +++ b/core/Translator.h	Sat Jul 14 01:04:15 2007 +0000
     1.3 @@ -120,6 +120,7 @@
     1.4  	unsigned int FindOrAddPhraseFile(const char *phrase_file);
     1.5  	BaseStringTable *GetStringTable();
     1.6  	unsigned int GetLanguageCount();
     1.7 +	bool GetLanguageInfo(unsigned int number, const char **code, const char **name);
     1.8  	bool GetLanguageByCode(const char *code, unsigned int *index);
     1.9  	size_t Translate(char *buffer, size_t maxlength, void **params, const Translation *pTrans);
    1.10  	CPhraseFile *GetFileByIndex(unsigned int index);
    1.11 @@ -130,6 +131,7 @@
    1.12  						 void **params, 
    1.13  						 size_t *outlen=NULL);
    1.14  	unsigned int GetServerLanguage();
    1.15 +	unsigned int GetClientLanguage(int client);
    1.16  private:
    1.17  	bool AddLanguage(const char *langcode, const char *description);
    1.18  private: