Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
LangCodeExpander.cpp File Reference
#include "LangCodeExpander.h"
#include "LangInfo.h"
#include "utils/RegExp.h"
#include "utils/StringUtils.h"
#include "utils/XBMCTinyXML.h"
#include <algorithm>
#include <array>

Classes

struct  LCENTRY
 
struct  ISO639
 
struct  ISO3166_1
 

Macros

#define MAKECODE(a, b, c, d)
 
#define MAKETWOCHARCODE(a, b)
 

Typedefs

typedef struct LCENTRY LCENTRY
 

Variables

const std::array< struct LCENTRY, 188 > g_iso639_1
 
const std::array< struct LCENTRY, 540 > g_iso639_2
 
const std::array< ISO639, 192 > LanguageCodes
 
const std::array< ISO3166_1, 245 > RegionCodes
 

Macro Definition Documentation

◆ MAKECODE

#define MAKECODE ( a,
b,
c,
d )
Value:
((((long)(a)) << 24) | (((long)(b)) << 16) | (((long)(c)) << 8) | (long)(d))

◆ MAKETWOCHARCODE

#define MAKETWOCHARCODE ( a,
b )
Value:
((((long)(a)) << 8) | (long)(b))

Typedef Documentation

◆ LCENTRY

typedef struct LCENTRY LCENTRY

Variable Documentation

◆ g_iso639_1

const std::array< struct LCENTRY, 188 > g_iso639_1

◆ g_iso639_2

const std::array< struct LCENTRY, 540 > g_iso639_2

◆ LanguageCodes

const std::array< ISO639, 192 > LanguageCodes

◆ RegionCodes

const std::array< ISO3166_1, 245 > RegionCodes