MythTV
master
mythtv
libs
libmythbase
iso3166.h
Go to the documentation of this file.
1
2
// -*- Mode: c++ -*-
3
#ifndef ISO_3166_1_H
4
#define ISO_3166_1_H
5
6
#include <QString>
7
#include <QMap>
8
9
#include "
mythbaseexp.h
"
10
23
using
ISO3166ToNameMap
= QMap<QString, QString>;
24
25
// WARNING: These functions are not thread-safe and sould only be
26
// called from the main UI thread.
27
28
MBASE_PUBLIC
ISO3166ToNameMap
GetISO3166EnglishCountryMap
(
void
);
29
MBASE_PUBLIC
QString
GetISO3166EnglishCountryName
(
const
QString &iso3166Code);
30
MBASE_PUBLIC
ISO3166ToNameMap
GetISO3166CountryMap
(
void
);
31
MBASE_PUBLIC
QString
GetISO3166CountryName
(
const
QString &iso3166Code);
32
33
#endif // ISO_3166_1_H
mythbaseexp.h
GetISO3166EnglishCountryName
MBASE_PUBLIC QString GetISO3166EnglishCountryName(const QString &iso3166Code)
Definition:
iso3166.cpp:352
MBASE_PUBLIC
#define MBASE_PUBLIC
Definition:
mythbaseexp.h:15
GetISO3166EnglishCountryMap
MBASE_PUBLIC ISO3166ToNameMap GetISO3166EnglishCountryMap(void)
Returns a map of ISO-3166 country codes mapped to the country name in English.
Definition:
iso3166.cpp:344
GetISO3166CountryName
MBASE_PUBLIC QString GetISO3166CountryName(const QString &iso3166Code)
Definition:
iso3166.cpp:368
GetISO3166CountryMap
MBASE_PUBLIC ISO3166ToNameMap GetISO3166CountryMap(void)
Definition:
iso3166.cpp:360
ISO3166ToNameMap
QMap< QString, QString > ISO3166ToNameMap
Definition:
iso3166.h:23
Generated on Wed Feb 26 2025 03:17:53 for MythTV by
1.8.17