class TExtendedLocale |
Extended locale class
This class holds a collection of locale information. It contains a TLocale internally. It has methods to load a locale DLL and to set the system wide locale information.
Public Member Functions | |
---|---|
TExtendedLocale() | |
IMPORT_C TPtrC | GetCurrencySymbol() |
TLocale * | GetLocale() |
IMPORT_C TInt | GetLocaleDllName(TLocaleAspect, TDes &) |
IMPORT_C TPtrC | GetLongDateFormatSpec() |
IMPORT_C TCollationMethod | GetPreferredCollationMethod(TInt) |
IMPORT_C TPtrC | GetShortDateFormatSpec() |
IMPORT_C TPtrC | GetTimeFormatSpec() |
IMPORT_C TInt | LoadLocale(const TDesC &) |
IMPORT_C TInt | LoadLocale(const TDesC &, const TDesC &, const TDesC &) |
IMPORT_C TInt | LoadLocaleAspect(TUint, const TDesC &) |
IMPORT_C TInt | LoadLocaleAspect(const TDesC &) |
IMPORT_C void | LoadSystemSettings() |
IMPORT_C TInt | SaveSystemSettings() |
IMPORT_C TInt | SetCurrencySymbol(const TDesC &) |
Private Member Functions | |
---|---|
TInt | DoLoadLocale(const TDesC &, TLibraryFunction *) |
void | DoUpdateLanguageSettings(TLibraryFunction *) |
void | DoUpdateLocaleSettings(TLibraryFunction *) |
void | DoUpdateTimeDateFormat(TLibraryFunction *) |
Private Attributes | |
---|---|
const LCharSet * | iDefaultCharSet |
SLocaleLanguage | iLanguageSettings |
TLocale | iLocale |
SLocaleLocaleSettings | iLocaleExtraSettings |
SLocaleTimeDateFormat | iLocaleTimeDateFormat |
const LCharSet * | iPreferredCharSet |
TInt | DoLoadLocale | ( | const TDesC & | aLocaleDllName, |
TLibraryFunction * | aExportList | |||
) | [private] |
const TDesC & aLocaleDllName | |
TLibraryFunction * aExportList |
void | DoUpdateLanguageSettings | ( | TLibraryFunction * | aExportList | ) | [private] |
TLibraryFunction * aExportList |
void | DoUpdateLocaleSettings | ( | TLibraryFunction * | aExportList | ) | [private] |
TLibraryFunction * aExportList |
void | DoUpdateTimeDateFormat | ( | TLibraryFunction * | aExportList | ) | [private] |
TLibraryFunction * aExportList |
IMPORT_C TInt | GetLocaleDllName | ( | TLocaleAspect | aLocaleDataSet, |
TDes & | aDllName | |||
) |
TLocaleAspect aLocaleDataSet | |
TDes & aDllName |
IMPORT_C TCollationMethod | GetPreferredCollationMethod | ( | TInt | index = 0 | ) |
TInt index = 0 |
IMPORT_C TInt | LoadLocale | ( | const TDesC & | aLocaleDllName | ) |
const TDesC & aLocaleDllName |
IMPORT_C TInt | LoadLocale | ( | const TDesC & | aLanguageLocaleDllName, |
const TDesC & | aRegionLocaleDllName, | |||
const TDesC & | aCollationLocaleDllName | |||
) |
IMPORT_C TInt | LoadLocaleAspect | ( | TUint | aAspectGroup, |
const TDesC & | aLocaleDllName | |||
) |
IMPORT_C TInt | LoadLocaleAspect | ( | const TDesC & | aLocaleDllName | ) |
const TDesC & aLocaleDllName |
IMPORT_C TInt | SetCurrencySymbol | ( | const TDesC & | aSymbol | ) |
const TDesC & aSymbol |