Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TableLanguageCodes.h File Reference
#include <algorithm>
#include <array>
#include <string_view>

Classes

struct  ISO639
 

Functions

constexpr auto CreateLanguageCodesSortedByIso639_2b ()
 
constexpr auto CreateLanguageCodesSortedByWin_Id ()
 

Variables

constexpr std::array< ISO639, LANGUAGE_CODES_COUNT > LanguageCodes
 
constexpr auto LanguageCodesByIso639_2b = CreateLanguageCodesSortedByIso639_2b()
 
constexpr auto LanguageCodesByWin_Id = CreateLanguageCodesSortedByWin_Id()
 

Function Documentation

◆ CreateLanguageCodesSortedByIso639_2b()

auto CreateLanguageCodesSortedByIso639_2b ( )
constexpr

◆ CreateLanguageCodesSortedByWin_Id()

auto CreateLanguageCodesSortedByWin_Id ( )
constexpr
Todo
save some space by extracting only the rows with a win_id value

Variable Documentation

◆ LanguageCodes

std::array<ISO639, LANGUAGE_CODES_COUNT> LanguageCodes
inlineconstexpr

◆ LanguageCodesByIso639_2b

auto LanguageCodesByIso639_2b = CreateLanguageCodesSortedByIso639_2b()
inlineconstexpr

◆ LanguageCodesByWin_Id

auto LanguageCodesByWin_Id = CreateLanguageCodesSortedByWin_Id()
inlineconstexpr