iso3166.h File Reference

ISO 3166-1 support functions. More...

Go to the source code of this file.

Typedefs

typedef QMap< QString, QString > ISO3166ToNameMap

Functions

MBASE_PUBLIC ISO3166ToNameMap GetISO3166EnglishCountryMap (void)
 Returns a map of ISO-3166 country codes mapped to the country name in English.
MBASE_PUBLIC QString GetISO3166EnglishCountryName (const QString &iso3166Code)
MBASE_PUBLIC ISO3166ToNameMap GetISO3166CountryMap (void)
MBASE_PUBLIC QString GetISO3166CountryName (const QString &iso3166Code)

Detailed Description

ISO 3166-1 support functions.

ISO 3166-1 alpha-2 is the two letter standard for specifying a country. This is used by MythTV for locale support.

In many contexts, such as with translations, these country codes can be prefixed with a 2 digit ISO639 language code and an underscore.

See also:
iso639.h

Definition in file iso3166.h.


Typedef Documentation

typedef QMap<QString, QString> ISO3166ToNameMap

Definition at line 27 of file iso3166.h.


Function Documentation

MBASE_PUBLIC ISO3166ToNameMap GetISO3166EnglishCountryMap ( void   ) 

Returns a map of ISO-3166 country codes mapped to the country name in English.

See also:
MythContext::GetLanguage()

Definition at line 344 of file iso3166.cpp.

Referenced by LanguageSelection::Load().

MBASE_PUBLIC QString GetISO3166EnglishCountryName ( const QString &  iso3166Code  ) 

Definition at line 352 of file iso3166.cpp.

Referenced by MythLocale::GetCountry().

MBASE_PUBLIC ISO3166ToNameMap GetISO3166CountryMap ( void   ) 

Definition at line 360 of file iso3166.cpp.

MBASE_PUBLIC QString GetISO3166CountryName ( const QString &  iso3166Code  ) 

Definition at line 368 of file iso3166.cpp.

Referenced by MythLocale::GetNativeCountry(), and LanguageSelection::Load().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun May 27 06:41:45 2012 for MythTV by  doxygen 1.6.3