SysLangUtil Class Reference

class SysLangUtil

Language selection -related utility methods.

?more_complete_description

SysLangUtil.lib
Since
S60 3.0

Member Functions Documentation

CheckFS(RFs *, TBool &, TInt &)

RFs * CheckFS ( RFs * aRFs,
TBool & aExist,
TInt & aErr
) [private, static]

Parameters

RFs * aRFs
TBool & aExist
TInt & aErr

GetDefaultLanguage(TInt &, RFs *)

IMPORT_C TInt GetDefaultLanguage ( TInt & aLanguage,
RFs * aFileServerSession = NULL
) [static]

Checks and returns the default language in a param given.

Parameters

TInt & aLanguage Symbian language as a number
RFs * aFileServerSession = NULL Optional file server session handle. If omitted, new one will be created.

GetInstalledLanguages(CArrayFixFlat< TInt > *&, RFs *)

IMPORT_C TInt GetInstalledLanguages ( CArrayFixFlat < TInt > *& aLanguages,
RFs * aFileServerSession = NULL
) [static]

Checks and returns installed languages in a param given.

Parameters

CArrayFixFlat < TInt > *& aLanguages Symbian languages as a arrayfixflat<int>, ownership given to user, so user must take care of proper cleanup!
RFs * aFileServerSession = NULL Optional file server session handle. If omitted, new one will be created.

IsValidLanguage(const TInt &, RFs *)

IMPORT_C TBool IsValidLanguage ( const TInt & aLanguage,
RFs * aFileServerSession = NULL
) [static]

Checks if language given as an argument is valid i.e. installed language.

Parameters

const TInt & aLanguage returned Symbian language code matching SIM one.
RFs * aFileServerSession = NULL Optional file server session handle. If omitted, new one will be created.

RestoreSIMLanguage(TInt &, RFs *)

IMPORT_C TInt RestoreSIMLanguage ( TInt & aLanguage,
RFs * aFileServerSession = NULL
) [static]

Returns SIM preferred languages in a param given.

Parameters

TInt & aLanguage Language that was stored in flash file system
RFs * aFileServerSession = NULL Optional file server session handle. If omitted, new one will be created.