qt: medialib: define a super-type for list items
[vlc.git] / include / vlc_iso_lang.h
blob254c970210222b961b441a22ff29a67f4e3d4351
1 /*****************************************************************************
2 * vlc_iso_lang.h: function to decode language code (in dvd or a52 for instance).
3 *****************************************************************************
4 * Copyright (C) 1998-2001 VLC authors and VideoLAN
6 * Author: Stéphane Borel <stef@via.ecp.fr>
7 * Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2.1 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 /**
25 * \file
26 * This file defines functions and structures for iso639 language codes
29 struct iso639_lang_t
31 const char *psz_eng_name; /* Description in English */
32 const char psz_iso639_1[3]; /* ISO-639-1 (2 characters) code */
33 const char psz_iso639_2T[4]; /* ISO-639-2/T (3 characters) English code */
34 const char psz_iso639_2B[4]; /* ISO-639-2/B (3 characters) native code */
37 #if defined( __cplusplus )
38 extern "C" {
39 #endif
40 VLC_API const iso639_lang_t * GetLang_1( const char * );
41 VLC_API const iso639_lang_t * GetLang_2T( const char * );
42 VLC_API const iso639_lang_t * GetLang_2B( const char * );
43 #if defined( __cplusplus )
45 #endif